Event in lua (partial)
Some checks failed
Build Dusk / run-tests (push) Failing after 2m30s
Build Dusk / build-linux (push) Failing after 2m37s
Build Dusk / build-psp (push) Failing after 1m54s

This commit is contained in:
2026-01-27 12:47:15 -06:00
parent 9b73f1717f
commit 6e78ee188d
12 changed files with 345 additions and 19 deletions

View File

@@ -2,6 +2,7 @@ module('platform')
module('input')
module('scene')
module('locale')
module('event')
-- Default Input bindings.
if PLATFORM == "psp" then
@@ -40,4 +41,10 @@ end
-- sceneSet('map')
-- mapLoad('map/testmap/testmap.dmf')
localeSet(DUSK_LOCALE_EN_US)
localeSet(DUSK_LOCALE_EN_US)
function eventTest()
print("Event system is working!")
end
eventSubscribe(EVENT_TEST, eventTest)