ld39-dead_in_the_water/game/areas/canteen.tscn

42 lines
949 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/canteen.tex" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 43.8796, 47.0645 )
[node name="canteen" instance=ExtResource( 1 )]
max_health = 2
health = 0
energy_cost = 2
display_name = "Canteen"
[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"]