FlappyBird2024/parallax_background.tscn

29 lines
972 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b4y7284n2bqns"]
[ext_resource type="Script" path="res://parallax_background.gd" id="1_8b7l0"]
[ext_resource type="Texture2D" uid="uid://d28arg8dquwkq" path="res://gfx/atlas.png" id="1_koab5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_27hvn"]
atlas = ExtResource("1_koab5")
region = Rect2(0, 0, 288, 512)
[sub_resource type="AtlasTexture" id="AtlasTexture_1kry4"]
atlas = ExtResource("1_koab5")
region = Rect2(584, 0, 336, 112)
[node name="ParallaxBackground" type="ParallaxBackground"]
script = ExtResource("1_8b7l0")
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(168, 288)
scale = Vector2(1.167, 1.125)
texture = SubResource("AtlasTexture_27hvn")
[node name="Ground" type="ParallaxLayer" parent="."]
motion_mirroring = Vector2(335, 0)
[node name="Ground" type="Sprite2D" parent="Ground"]
position = Vector2(168, 512)
scale = Vector2(1, 1.143)
texture = SubResource("AtlasTexture_1kry4")