Titol de finestra i ESC per a eixir

This commit is contained in:
2026-05-18 13:31:27 +02:00
parent 28f2d91c5c
commit 446d812270
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -1186,6 +1186,7 @@ function carregar_config()
end
function init()
wintitle("© 2026 Pepe Runner DX — JailDesigner")
carregar_config()
carregar_skin()
mode(1)
@@ -1200,6 +1201,8 @@ function init()
end
function update()
if btnp(KEY_ESCAPE) then os.exit(0) end
-- Contador animat del score: independent de l'estat, així segueix pujant
-- sobre el overlay del game over (no es queda congelat a meitat camí).
if score_display < score and (cnt() % temps.score_step) == 0 then