- Musica i so amb SDL_Mixer
This commit is contained in:
@@ -20,11 +20,11 @@ function switches.start(hab,tile)
|
||||
if switches.cooldown>0 then return end
|
||||
mapa_set_tile_by_index(hab,tile,57)
|
||||
switches.current_list=switches[hab+1][tile]
|
||||
print(tile)
|
||||
--print(tile)
|
||||
switches.current_index=2
|
||||
switches.wait=0
|
||||
switches.cooldown=60
|
||||
play(audio_switch)
|
||||
playsnd(audio_switch)
|
||||
end
|
||||
|
||||
function switches.update()
|
||||
|
||||
Reference in New Issue
Block a user