- Açò de developar i que se vegen els commits es un fer la mà
This commit is contained in:
@@ -2,8 +2,8 @@ levels["arq"]={
|
||||
load=function()
|
||||
mapa.load("test.map")
|
||||
|
||||
actors.add({name="estudiant",x=18,y=11,o="r",gfx={x=0,y=48}})
|
||||
actors.add({name="estudiant",x=16,y=12,o="l",gfx={x=128,y=0}})
|
||||
actors.add({name="estudiant1",x=18,y=11,o="r",gfx={x=0,y=48},action=levels.arq.estudiant1_action})
|
||||
actors.add({name="estudiant2",x=16,y=12,o="l",gfx={x=128,y=0}})
|
||||
|
||||
switches.add({x=32,y=25,w=1,h=1,action=
|
||||
function()
|
||||
@@ -59,13 +59,13 @@ levels["arq"]={
|
||||
end
|
||||
})
|
||||
|
||||
switches.add({x=6,y=11,w=1,h=1,action=
|
||||
switches.add({x=22,y=11,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=6
|
||||
actors.main.x=21
|
||||
actors.main.y=15
|
||||
actors.main.o="u"
|
||||
actors.main.level="jail1"
|
||||
@@ -76,5 +76,16 @@ levels["arq"]={
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
end,
|
||||
|
||||
estudiant1_action=function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
--if hero.o~="d" then return end
|
||||
scene.start({
|
||||
--function() actors.face("estudiant1", "jailer") scene.cont() end,
|
||||
function() balloon.show("ME MOLA MIRAR LA\nBARRA DE PROGRÉS...",12,"estudiant1",false,{x=1,w=12,h=2}) end
|
||||
})
|
||||
end,
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user