flappy-bird/Tower.tscn

41 lines
1.2 KiB
Text
Raw Normal View History

2020-01-15 15:44:46 +01:00
[gd_scene load_steps=4 format=2]
2020-01-15 14:43:08 +01:00
2020-01-15 15:44:46 +01:00
[ext_resource path="res://Tower.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
2020-01-15 14:43:08 +01:00
[sub_resource type="RectangleShape2D" id=1]
2020-01-15 18:48:07 +01:00
extents = Vector2( 29.9672, 264.93 )
2020-01-15 14:43:08 +01:00
2020-01-15 15:44:46 +01:00
[node name="Tower" type="Node2D"]
script = ExtResource( 1 )
2020-01-15 14:43:08 +01:00
2020-01-15 15:44:46 +01:00
[node name="Lower" type="RigidBody2D" parent="."]
position = Vector2( -32, 100 )
[node name="TextureRect" type="TextureRect" parent="Lower"]
margin_right = 64.0
2020-01-15 18:48:07 +01:00
margin_bottom = 500.0
2020-01-15 15:44:46 +01:00
texture = ExtResource( 2 )
expand = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lower"]
2020-01-15 18:48:07 +01:00
position = Vector2( 31.5038, 267.238 )
2020-01-15 15:44:46 +01:00
shape = SubResource( 1 )
[node name="Upper" type="RigidBody2D" parent="."]
position = Vector2( 32, -100 )
rotation = 3.14159
[node name="TextureRect" type="TextureRect" parent="Upper"]
2020-01-15 14:43:08 +01:00
margin_right = 64.0
2020-01-15 18:48:07 +01:00
margin_bottom = 500.0
2020-01-15 15:44:46 +01:00
texture = ExtResource( 2 )
2020-01-15 14:43:08 +01:00
expand = true
2020-01-15 15:44:46 +01:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Upper"]
2020-01-15 18:48:07 +01:00
position = Vector2( 32.6698, 265.913 )
2020-01-15 14:43:08 +01:00
shape = SubResource( 1 )
2020-01-15 15:44:46 +01:00
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_Visibility_screen_exited"]