1 parent
83467a764e
commit
c160856e89
5 files changed
+103
No files matched your search
@@ -0,0 +1,14 @@
|
||||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
Reference in new issue
Block a user