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]
|
|
|
|
extents = Vector2( 29.9672, 132.942 )
|
|
|
|
|
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
|
|
|
|
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"]
|
2020-01-15 14:43:08 +01:00
|
|
|
margin_right = 64.0
|
|
|
|
margin_bottom = 256.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 14:43:08 +01:00
|
|
|
position = Vector2( 31.5038, 135.281 )
|
|
|
|
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"]
|