docs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
2026-02-21 23:53:36 +01:00
parent 3b137fd48e
commit 76964f872d
28 changed files with 301 additions and 28 deletions

View File

@@ -1,8 +1,10 @@
--- Draws the intro window.
function IntroWindow.draw()
local x = (Config.screen.width - 132) / 2
Print.text(Context.intro.text, x, Context.intro.y, Config.colors.green)
end
--- Updates the intro window logic.
function IntroWindow.update()
Context.intro.y = Context.intro.y - Context.intro.speed
@@ -18,4 +20,4 @@ function IntroWindow.update()
if Input.menu_confirm() then
GameWindow.set_state(WINDOW_MENU)
end
end
end