flappy-bird/Tower.tscn
2020-01-15 15:44:46 +01:00

40 lines
1.2 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Tower.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 29.9672, 132.942 )
[node name="Tower" type="Node2D"]
script = ExtResource( 1 )
[node name="Lower" type="RigidBody2D" parent="."]
position = Vector2( -32, 100 )
[node name="TextureRect" type="TextureRect" parent="Lower"]
margin_right = 64.0
margin_bottom = 256.0
texture = ExtResource( 2 )
expand = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lower"]
position = Vector2( 31.5038, 135.281 )
shape = SubResource( 1 )
[node name="Upper" type="RigidBody2D" parent="."]
position = Vector2( 32, -100 )
rotation = 3.14159
[node name="TextureRect" type="TextureRect" parent="Upper"]
margin_right = 64.0
margin_bottom = 256.0
texture = ExtResource( 2 )
expand = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Upper"]
position = Vector2( 31.5038, 135.281 )
shape = SubResource( 1 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_Visibility_screen_exited"]