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_0005.tscn | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Levels/Level_0005.tscn') diff --git a/Levels/Level_0005.tscn b/Levels/Level_0005.tscn index b41530f..208c049 100644 --- a/Levels/Level_0005.tscn +++ b/Levels/Level_0005.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=6 format=3 uid="uid://cdgecw8l2lhto"] +[gd_scene load_steps=7 format=3 uid="uid://cdgecw8l2lhto"] [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_0005.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_y8ca1"] [node name="Level_0005" type="Node2D"] script = ExtResource("4") @@ -41,3 +42,13 @@ editor_draw_limits = true [node name="CheckFall" parent="." instance=ExtResource("5")] position = Vector2(824, 216) 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(-1385, -1856) +scale = Vector2(2.73615, 2.73615) +texture = ExtResource("6_y8ca1") +centered = false -- cgit v1.2.3