From c4aff8947422725875dab30b8aa46223166ac658 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 28 Dec 2022 17:26:24 +0100 Subject: [PATCH] - JailGames logo --- intro.lua | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/intro.lua b/intro.lua index 16be2ed..411f75d 100644 --- a/intro.lua +++ b/intro.lua @@ -2,14 +2,34 @@ intro_wait=40 intro_step=0 function intro_init() - _update = intro_update + _update = intro_intro + intro_wait=400 cls(16) - rect(15,3,113,53,2) - camera(-16,-4) - mapa_draw(10) - rectfill(73,24,79,39,16) - sspr(0,0,16,16,44,24,16,16,true) - camera(0,0) + logo=newsurf(36,5) + setdest(logo) + cls(16) + prnt("JAILGAMES",0,0,15) + setdest(0) + setsource(logo) + sspr(0,0,36,5,28,35,72,10) + setsource(tiles) +end + +function intro_intro() + --text("JAILGAMES",40,30,15) + text("presenta",48,50,14) + intro_wait=intro_wait-1 + if intro_wait==0 then + cls(16) + rect(15,3,113,53,2) + camera(-16,-4) + mapa_draw(10) + rectfill(73,24,79,39,16) + sspr(0,0,16,16,44,24,16,16,true) + camera(0,0) + intro_wait=40 + _update = intro_update + end end function intro_update()