Level Functionality Complete
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
radius = 4.47823
|
||||
|
||||
[node name="snowball_blue" type="Area2D" groups=[
|
||||
"enemy_projectile_1",
|
||||
"freeze",
|
||||
]]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
@@ -14,7 +14,9 @@ radius = 58.0175
|
||||
radius = 6.0
|
||||
height = 5.0
|
||||
|
||||
[node name="snowmen_enemy" type="KinematicBody2D"]
|
||||
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
|
||||
"freeze",
|
||||
]]
|
||||
collision_layer = 2
|
||||
script = ExtResource( 2 )
|
||||
|
||||
@@ -38,7 +40,7 @@ shape = SubResource( 2 )
|
||||
autostart = true
|
||||
|
||||
[node name="hitbox" type="Area2D" parent="." groups=[
|
||||
"enemy_hitbox_1",
|
||||
"freeze",
|
||||
]]
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
@@ -49,3 +51,4 @@ shape = SubResource( 3 )
|
||||
[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"]
|
||||
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
|
||||
|
@@ -14,7 +14,9 @@ radius = 56.0659
|
||||
radius = 6.0
|
||||
height = 5.0
|
||||
|
||||
[node name="snowmen_enemy" type="KinematicBody2D"]
|
||||
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
|
||||
"enemy",
|
||||
]]
|
||||
collision_layer = 2
|
||||
script = ExtResource( 2 )
|
||||
|
||||
@@ -50,3 +52,4 @@ shape = SubResource( 3 )
|
||||
[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"]
|
||||
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
|
||||
|
Reference in New Issue
Block a user