- Açò de developar i que se vegen els commits es un fer la mà
This commit is contained in:
@@ -19,8 +19,8 @@ game={
|
||||
restart=function()
|
||||
flags={}
|
||||
objects.list={}
|
||||
actors.main={name="jailer",x=10,y=26,o="r",gfx={x=32,y=0},level="arq"}
|
||||
game.init("arq")
|
||||
actors.main={name="jailer",x=25,y=6,o="r",gfx={x=32,y=0},level="jail1"}
|
||||
game.init("jail1")
|
||||
end,
|
||||
|
||||
init=function(levelname,f,objs)
|
||||
@@ -137,7 +137,13 @@ game={
|
||||
end
|
||||
setmap(mapa.surface)
|
||||
camera(0,0)
|
||||
text(tostring(game.cam.x)..","..tostring(game.cam.y),1,1,8)
|
||||
|
||||
text(game.cam.x..","..game.cam.y,1,1,8)
|
||||
if hero then
|
||||
text(hero.x..","..hero.y,1,7,8)
|
||||
end
|
||||
text(game.level,1,13,8)
|
||||
|
||||
if not scene.script and hero and not hero.path and hero.dx+hero.dy==0 then
|
||||
if btn(KEY_DOWN) then
|
||||
hero.path={pos=0,route='d',keys=true}
|
||||
|
||||
Reference in New Issue
Block a user