From d74263a17e98159b2e3176a5f8e1ff361909c210 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 25 Dec 2023 12:03:15 +0100 Subject: level backgrounds --- Levels/Level_0004.tscn | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Levels/Level_0004.tscn') diff --git a/Levels/Level_0004.tscn b/Levels/Level_0004.tscn index c4bc19b..71e83b3 100644 --- a/Levels/Level_0004.tscn +++ b/Levels/Level_0004.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=6 format=3 uid="uid://b4fd51otvuatn"] +[gd_scene load_steps=7 format=3 uid="uid://b4fd51otvuatn"] [ext_resource type="TileSet" path="res://Assets/Environment/nestle.tres" id="1"] [ext_resource type="PackedScene" uid="uid://bxkau6af500fs" path="res://Characters/Character.tscn" id="2"] [ext_resource type="PackedScene" uid="uid://cssvf3k8yn751" path="res://Objects/Flag.tscn" id="3"] [ext_resource type="Script" path="res://Levels/Level_0004.gd" id="4"] [ext_resource type="PackedScene" path="res://Objects/CheckFall.tscn" id="5"] +[ext_resource type="Texture2D" uid="uid://56ec4yc6bstu" path="res://Assets/Environment/FreeTileset/BG/BG.png" id="6_7yvqi"] [node name="Level_0004" type="Node2D"] script = ExtResource("4") @@ -39,3 +40,13 @@ editor_draw_limits = true [node name="CheckFall" parent="." instance=ExtResource("5")] position = Vector2(824, 320) scale = Vector2(8, 1) + +[node name="ParallaxBackground" type="ParallaxBackground" parent="."] + +[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] + +[node name="Sprite2D" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] +position = Vector2(-3, -730) +scale = Vector2(1.504, 1.504) +texture = ExtResource("6_7yvqi") +centered = false -- cgit v1.2.3