Movement tweaks, fade tweaks, stopped ledge jumping, and lighting tweaks
This commit is contained in:
8
client/Scripts/Component/Killbox.gd
Normal file
8
client/Scripts/Component/Killbox.gd
Normal file
@ -0,0 +1,8 @@
|
||||
extends Area2D
|
||||
|
||||
func _ready():
|
||||
connect("body_entered", self, "_on_body_entered")
|
||||
|
||||
func _on_body_entered(body):
|
||||
if body.has_method("handle_death"):
|
||||
body.handle_death()
|
Reference in New Issue
Block a user