canvi de comp
This commit is contained in:
BIN
data/mus/paku_title.ogg
Normal file
BIN
data/mus/paku_title.ogg
Normal file
Binary file not shown.
@@ -5,6 +5,7 @@ titles = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
local sndLaugh, sndThunder
|
local sndLaugh, sndThunder
|
||||||
|
local musTitles
|
||||||
|
|
||||||
function titles.lightning_step1()
|
function titles.lightning_step1()
|
||||||
pal.subpal(29,1)
|
pal.subpal(29,1)
|
||||||
@@ -49,13 +50,14 @@ function titles.enable()
|
|||||||
surf.target(surf.SCREEN)
|
surf.target(surf.SCREEN)
|
||||||
sndLaugh = sound.load("snd/laugh.wav")
|
sndLaugh = sound.load("snd/laugh.wav")
|
||||||
sndThunder = sound.load("snd/thunder.wav")
|
sndThunder = sound.load("snd/thunder.wav")
|
||||||
|
music.play("mus/paku_title.ogg", 0)
|
||||||
dt = sys.time()
|
dt = sys.time()
|
||||||
end
|
end
|
||||||
|
|
||||||
function titles.update()
|
function titles.update()
|
||||||
surf.source(titles.jailgames)
|
surf.source(titles.jailgames)
|
||||||
draw.surf(0,0,98,14,31,49)
|
draw.surf(0,0,98,14,31,49)
|
||||||
if sys.time()-dt > 2 then
|
if sys.time()-dt > 4 then
|
||||||
app.update = titles.step2
|
app.update = titles.step2
|
||||||
dt = sys.time()
|
dt = sys.time()
|
||||||
sound.play(sndThunder)
|
sound.play(sndThunder)
|
||||||
|
|||||||
Reference in New Issue
Block a user