- [FIX] Arreglada l'interacció amb el cursor
- [NEW] Afegit mode noclip - [NEW] Acabant la part de La Vella
This commit is contained in:
@@ -31,6 +31,7 @@ game={
|
||||
end,
|
||||
|
||||
startfromeditor=function(s_level, s_x, s_y)
|
||||
print("Playing level: "..s_level.." at pos "..s_x..","..s_y)
|
||||
flags={}
|
||||
objects.list={}
|
||||
actors.main={name="jailer",x=s_x,y=s_y,o="d",jailmoji="AHDJONAAAAFAACFBBO",level=s_level}
|
||||
@@ -156,10 +157,10 @@ game={
|
||||
local mx,my=mouse.pos()
|
||||
if actors.under_cursor~="" then
|
||||
if (mx<=80) then
|
||||
text(actors.under_cursor,mx+game.cam.x+4,my+game.cam.y+4,9)
|
||||
text(actors.under_cursor,mx+4,my+4,9)
|
||||
else
|
||||
local size = #actors.under_cursor
|
||||
text(actors.under_cursor,mx+game.cam.x-size*4,my+game.cam.y+4,9)
|
||||
text(actors.under_cursor,mx-size*4,my+4,9)
|
||||
end
|
||||
end
|
||||
if mapa.front_layer then
|
||||
|
||||
Reference in New Issue
Block a user