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_0003.tscn | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Levels/Level_0003.tscn') diff --git a/Levels/Level_0003.tscn b/Levels/Level_0003.tscn index 7f895fc..bdc022c 100644 --- a/Levels/Level_0003.tscn +++ b/Levels/Level_0003.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=28 format=3 uid="uid://cj3urxdtcls8x"] +[gd_scene load_steps=29 format=3 uid="uid://cj3urxdtcls8x"] [ext_resource type="Texture2D" uid="uid://cv2wvpr5mttn4" path="res://Assets/Environment/WinterTileset/Tiles/1.png" id="1"] [ext_resource type="PackedScene" uid="uid://bxkau6af500fs" path="res://Characters/Character.tscn" id="2"] @@ -15,6 +15,7 @@ [ext_resource type="Texture2D" uid="uid://doawng5y4amm5" path="res://Assets/Environment/WinterTileset/Object/Tree_2.png" id="13"] [ext_resource type="Texture2D" uid="uid://btr0korernb4" path="res://Assets/Environment/WinterTileset/Object/Igloo.png" id="14"] [ext_resource type="Texture2D" uid="uid://xffp6y4guc5u" path="res://Assets/Environment/WinterTileset/Object/Tree_1.png" id="15"] +[ext_resource type="Texture2D" uid="uid://bb2wq2h3sij5t" path="res://Assets/Environment/WinterTileset/BG/BG.png" id="16_iyx8m"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_v701e"] texture = ExtResource("1") @@ -515,3 +516,13 @@ editor_draw_limits = true [node name="CheckFall" parent="." instance=ExtResource("5")] position = Vector2(674, 435) 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(-153, -498) +scale = Vector2(1.14446, 1.14446) +texture = ExtResource("16_iyx8m") +centered = false -- cgit v1.2.3