- Menu de pausa, altres apanyos

This commit is contained in:
2022-12-28 19:13:39 +01:00
parent c4aff89474
commit 5a980fcdfb
4 changed files with 48 additions and 7 deletions

View File

@@ -5,7 +5,6 @@ function intro_init()
_update = intro_intro
intro_wait=400
cls(16)
logo=newsurf(36,5)
setdest(logo)
cls(16)
prnt("JAILGAMES",0,0,15)
@@ -19,7 +18,7 @@ function intro_intro()
--text("JAILGAMES",40,30,15)
text("presenta",48,50,14)
intro_wait=intro_wait-1
if intro_wait==0 then
if intro_wait==0 or btnp(KEY_ESCAPE) then
cls(16)
rect(15,3,113,53,2)
camera(-16,-4)
@@ -35,6 +34,9 @@ end
function intro_update()
--playchirp(audio_main_song)
--game_init(true)
if btnp(KEY_ESCAPE) then
game_init(true)
end
intro_wait=intro_wait-1
if intro_wait==0 then