- [FIX] Arreglada l'interacció amb el cursor
- [NEW] Afegit mode noclip - [NEW] Acabant la part de La Vella
This commit is contained in:
@@ -190,7 +190,8 @@ editor={
|
||||
map.surf(mapa.surface)
|
||||
end
|
||||
local mx,my=mouse.pos()
|
||||
local tx,ty=(mx+editor.cam.x)>>3,(my+editor.cam.y)>>3
|
||||
--local tx,ty=(mx+editor.cam.x)>>3,(my+editor.cam.y)>>3
|
||||
local tx,ty=(mx)>>3,(my)>>3
|
||||
editor.cx, editor.cy = tx, ty
|
||||
local rx,ry=tx<<3,ty<<3
|
||||
draw.rect(rx-1, ry-1, 10, 10, 10)
|
||||
|
||||
Reference in New Issue
Block a user