Some tutorial

This commit is contained in:
Debugman committed 2026-10-18 00:28:27 -05:00
1 parent d9d5bb3259
commit c9510f8902
16 files changed
+134 -22

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
extends Node2D
func _ready() -> void:
pass
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)