4
0
Files
mranderson/inc/splash.lua
Zsolt Tasnadi 9dfbdcd052
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
split source
2025-12-10 22:33:36 +01:00

15 lines
509 B
Lua

--------------------------------------------------------------------------------
-- Splash Module
--------------------------------------------------------------------------------
function SplashWindow.draw()
print("Mr. Anderson's", 78, 60, Config.colors.green)
print("Addventure", 90, 70, Config.colors.green)
end
function SplashWindow.update()
Context.splash_timer = Context.splash_timer - 1
if Context.splash_timer <= 0 or Input.menu_confirm() then
GameWindow.set_state(WINDOW_INTRO)
end
end