Better testscene

This commit is contained in:
2026-03-29 13:18:13 +02:00
parent 1fdb223f5d
commit 3f462d3482
27 changed files with 3714 additions and 3036 deletions

View File

@@ -0,0 +1,13 @@
-- damage_trigger.lua - Damages player on entry, heals on exit area
-- Attach to a PSXTriggerBox in a hazard zone
function onTriggerEnter()
Debug.Log("Entered damage zone")
setStatus("Ouch! Taking damage!")
applyDamage(25)
end
function onTriggerExit()
Debug.Log("Exited damage zone")
setStatus("Escaped the danger!")
end