flappy-bird/Main.tscn

32 lines
1 KiB
Text
Raw Normal View History

2020-01-15 14:43:08 +01:00
[gd_scene load_steps=6 format=2]
2020-01-14 22:20:17 +01:00
[ext_resource path="res://Camera2D.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
2020-01-15 14:43:08 +01:00
[ext_resource path="res://Tower.tscn" type="PackedScene" id=3]
[ext_resource path="res://Tower.gd" type="Script" id=4]
[ext_resource path="res://Player.tscn" type="PackedScene" id=5]
2020-01-14 22:20:17 +01:00
[node name="View" type="Node"]
script = ExtResource( 1 )
[node name="Background" type="TextureRect" parent="."]
2020-01-15 14:43:08 +01:00
margin_left = -1.16638
margin_top = -321.166
margin_right = 1244.83
margin_bottom = 318.834
2020-01-14 22:20:17 +01:00
texture = ExtResource( 2 )
expand = true
2020-01-15 14:43:08 +01:00
stretch_mode = 2
2020-01-14 22:20:17 +01:00
2020-01-15 14:43:08 +01:00
[node name="Tower" parent="." instance=ExtResource( 3 )]
position = Vector2( 734.801, 66.482 )
gravity_scale = 0.0
script = ExtResource( 4 )
[node name="Player" parent="." instance=ExtResource( 5 )]
position = Vector2( 571.569, 183.117 )
gravity = 0.0
collision_layer = 0
[connection signal="body_entered" from="Tower" to="Tower" method="_on_Tower_body_entered"]
2020-01-14 22:20:17 +01:00
[connection signal="move" from="Player" to="." method="_on_Player_move"]