Added more flexible player damage from enemies and cleaned up some code
This commit is contained in:
@@ -14,7 +14,8 @@ monitorable = false
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Tile" type="CollisionShape2D" parent="."]
|
||||
light_mask = 0
|
||||
position = Vector2( 8, 8 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_spawn_trap_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_spawn_trap_body_entered"]
|
||||
|
Reference in New Issue
Block a user