- Treballant en els mapes i escenes de totes les aules de pràctiques
This commit is contained in:
@@ -23,6 +23,42 @@ levels["arq"]={
|
||||
end
|
||||
})
|
||||
|
||||
switches.add({x=20,y=25,w=1,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
if hero.o=="u" then
|
||||
game.paused = true
|
||||
fade.fadeout()
|
||||
actors.main.x=12
|
||||
actors.main.y=16
|
||||
actors.main.o="u"
|
||||
actors.main.level="prac2"
|
||||
game.init("prac2")
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
switches.add({x=8,y=25,w=1,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
if hero.o=="u" then
|
||||
game.paused = true
|
||||
fade.fadeout()
|
||||
actors.main.x=9
|
||||
actors.main.y=16
|
||||
actors.main.o="u"
|
||||
actors.main.level="prac3"
|
||||
game.init("prac3")
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
switches.add({x=6,y=11,w=1,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
|
||||
Reference in New Issue
Block a user