Titol de finestra i ESC per a eixir
This commit is contained in:
@@ -739,6 +739,7 @@ end
|
||||
-- BUCLE PRINCIPAL
|
||||
-- ============================================================
|
||||
function init()
|
||||
wintitle("© 1984 Bombardero — Dave Town")
|
||||
mode(MODO)
|
||||
border(COL_FONDO)
|
||||
color(COL_TEXTO, COL_FONDO)
|
||||
@@ -750,6 +751,7 @@ function init()
|
||||
end
|
||||
|
||||
function update()
|
||||
if btnp(KEY_ESCAPE) then os.exit(0) end
|
||||
if estado == ESTADO_TITULO then update_titulo()
|
||||
elseif estado == ESTADO_INSTRUC then update_instruc()
|
||||
elseif estado == ESTADO_NIVEL then update_nivel()
|
||||
|
||||
Reference in New Issue
Block a user