41 lines
934 B
Plaintext
41 lines
934 B
Plaintext
[gd_scene load_steps=4 format=1]
|
|
|
|
[ext_resource path="res://areas/area_base.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://areas/command.tex" type="Texture" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 46.2513, 47.0645 )
|
|
|
|
[node name="command" instance=ExtResource( 1 )]
|
|
|
|
health = 1
|
|
energy_cost = 4
|
|
display_name = "Command"
|
|
|
|
[node name="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
input/pickable = true
|
|
shapes/0/shape = SubResource( 1 )
|
|
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
|
shapes/0/trigger = false
|
|
gravity_vec = Vector2( 0, 1 )
|
|
gravity = 98.0
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
shape = SubResource( 1 )
|
|
trigger = false
|
|
_update_shape_index = 0
|
|
|
|
[connection signal="input_event" from="Area2D" to="." method="_on_Area2D_input_event"]
|
|
|
|
|