- Implementat el teleport desde l'habitació secreta ;)

This commit is contained in:
2023-01-12 20:03:41 +01:00
parent 64abefddfa
commit 8019332de1
3 changed files with 25 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ end
function playsnd(sound,volume)
if not mute then
--print(sound)
playsound(sound,volume)
return playsound(sound,volume)
end
end
@@ -115,8 +115,11 @@ function game_init(menu)
table.insert(actors,trigger.new(56,32,32,triggers.escena_abad_porta_batman))
table.insert(actors,trigger.new(19,32,32,triggers.escena_habitacio_batman))
score.create()
table.insert(actors,trigger.new(14,40,32,triggers.teleport_a))
table.insert(actors,trigger.new(67,8,32,triggers.teleport_b))
score.create()
cameras[0]=gps
table.insert(cameras,gorro)
table.insert(cameras,peu)