- Musica i so amb SDL_Mixer

This commit is contained in:
2023-01-12 19:01:38 +01:00
parent e47441ee08
commit 1a1ff51a24
34 changed files with 169 additions and 129 deletions

View File

@@ -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()