Files
ludum_dare_46/src/Objects/Heart/Heart.tscn
2020-04-20 23:20:30 +02:00

36 lines
1.2 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
[ext_resource path="res://Objects/Heart/Heart.gd" type="Script" id=2]
[ext_resource path="res://Objects/Heart/heart.png" type="Texture" id=3]
[ext_resource path="res://Overlap/Kind.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape2D" id=1]
radius = 8.0
height = 3.0
[node name="Heart" type="Node2D"]
script = ExtResource( 2 )
SoundLibary = PoolStringArray( "res://Objects/Heart/Sounds/Heart2.wav", "res://Objects/Heart/Sounds/Heart3.wav", "res://Objects/Heart/Sounds/Heart4.wav", "res://Objects/Heart/Sounds/Heart5.wav", "res://Objects/Heart/Sounds/Heart.wav" )
[node name="Kind" parent="." instance=ExtResource( 4 )]
general = 1
kind = 7
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0.22036, -4.18694 )
texture = ExtResource( 3 )
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
collision_layer = 32
collision_mask = 0
health_value = 1
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
position = Vector2( 1, 0 )
rotation = 1.5708
shape = SubResource( 1 )
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
[editable path="Hurtbox"]