- Menu de pausa, altres apanyos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user