flappy-bird/Main.tscn

21 lines
685 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Camera2D.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[node name="View" type="Node"]
script = ExtResource( 1 )
[node name="Background" type="Sprite" parent="."]
position = Vector2( 774.747, 318.138 )
scale = Vector2( 10, 10 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 144, 256 )
[node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 155.182, -2.28882e-05 )
gravity = 0.0
collision_layer = 0
[connection signal="move" from="Player" to="." method="_on_Player_move"]