Added snowmen damage + music

This commit is contained in:
tiffanyfrias10
2021-11-30 20:16:38 -06:00
parent e8d659ed93
commit 73efc1ffea
22 changed files with 447 additions and 351 deletions

View File

@@ -11,6 +11,7 @@ height = 5.0
radius = 56.0659
[node name="snowmen_enemy" type="KinematicBody2D"]
collision_layer = 2
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
@@ -19,16 +20,16 @@ texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="detection" type="Area2D" parent="."]
collision_layer = 2
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
[node name="detection" type="CollisionShape2D" parent="detection"]
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
autostart = true
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]
[connection signal="body_entered" from="detection" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="detection" to="." method="_on_Area2D_body_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]