42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Tower.gd" type="Script" id=1]
|
|
[ext_resource path="res://res/sprites.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 29.9672, 264.93 )
|
|
|
|
[node name="Tower" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Lower" type="RigidBody2D" parent="."]
|
|
position = Vector2( -32, 100 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="Lower"]
|
|
position = Vector2( 30.9827, 265.322 )
|
|
scale = Vector2( 2.55196, 3.34805 )
|
|
texture = ExtResource( 2 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 84, 323, 26, 160 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lower"]
|
|
position = Vector2( 31.5038, 267.238 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Upper" type="RigidBody2D" parent="."]
|
|
position = Vector2( 32, -100 )
|
|
rotation = 3.14159
|
|
|
|
[node name="Sprite" type="Sprite" parent="Upper"]
|
|
position = Vector2( 33.3285, 264.086 )
|
|
scale = Vector2( 2.41273, 3.32748 )
|
|
texture = ExtResource( 2 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 84, 323, 26, 160 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Upper"]
|
|
position = Vector2( 32.6698, 265.913 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
|
|
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_Visibility_screen_exited"]
|