- Conectats els mapes de EUI i exterior amb la resta
- [FIX] La càmera no se resetjava al carregar un nou mapa en el editor - [FIX] El joc no funcionava si venies de l'editor
This commit is contained in:
24
data/m_eui.lua
Normal file
24
data/m_eui.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
levels["eui"]={
|
||||
load=function()
|
||||
mapa.load("eui.map")
|
||||
|
||||
switches.add({x=40,y=41,w=6,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
if hero.o=="d" then
|
||||
game.paused = true
|
||||
fade.fadeout()
|
||||
actors.main.x=30
|
||||
actors.main.y=6
|
||||
actors.main.o="d"
|
||||
actors.main.level="exterior"
|
||||
game.init("exterior")
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user