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,8 @@
-- portal_trigger.lua - Scene transition when player enters
-- Attach to a PSXTriggerBox at a doorway/exit
function onTriggerEnter()
setStatus("Loading next scene...")
Persist.Set("came_from", Scene.GetIndex())
Scene.Load(0) -- reload scene 0 as demo
end