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]
|
2024-04-16 12:44:28 +02:00
|
|
|
[ext_resource path="res://res/sprites.png" type="Texture2D" 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 )
|
|
|
|
|
2024-04-16 12:44:28 +02:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Lower"]
|
2020-01-21 17:00:57 +01:00
|
|
|
position = Vector2( 30.9827, 265.322 )
|
|
|
|
scale = Vector2( 2.55196, 3.34805 )
|
2020-01-15 15:44:46 +01:00
|
|
|
texture = ExtResource( 2 )
|
2020-01-21 17:00:57 +01:00
|
|
|
region_enabled = true
|
|
|
|
region_rect = Rect2( 84, 323, 26, 160 )
|
2020-01-15 15:44:46 +01:00
|
|
|
|
|
|
|
[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
|
|
|
|
|
2024-04-16 12:44:28 +02:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Upper"]
|
2020-01-21 17:00:57 +01:00
|
|
|
position = Vector2( 33.3285, 264.086 )
|
|
|
|
scale = Vector2( 2.41273, 3.32748 )
|
2020-01-15 15:44:46 +01:00
|
|
|
texture = ExtResource( 2 )
|
2020-01-21 17:00:57 +01:00
|
|
|
region_enabled = true
|
|
|
|
region_rect = Rect2( 84, 323, 26, 160 )
|
2020-01-15 14:43:08 +01:00
|
|
|
|
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
|
|
|
|
2024-04-16 12:44:28 +02:00
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
|
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_Visibility_screen_exited"]
|