getting-started/flappy-bird/Main.tscn

23 lines
791 B
Text

[gd_scene load_steps=4 format=3 uid="uid://lm2d6kimhksi"]
[ext_resource type="Script" path="res://Main.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://1wdcw8ne7j5w" path="res://res/sprites.png" id="3"]
[sub_resource type="AtlasTexture" id="1"]
atlas = ExtResource("3")
region = Rect2(0, 0, 144, 256)
[node name="View" type="Node2D"]
script = ExtResource("1")
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2(0.5, 1)
motion_mirroring = Vector2(420, 0)
[node name="Sprite2D" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"]
position = Vector2(209.839, 320)
scale = Vector2(2.91891, 2.5)
texture = SubResource("1")
region_rect = Rect2(0, 0, 144, 256)