- [FIX] Arreglada l'interacció amb el cursor

- [NEW] Afegit mode noclip
- [NEW] Acabant la part de La Vella
This commit is contained in:
2025-12-23 13:31:36 +01:00
parent 7767e81c88
commit 1fc69e1958
4 changed files with 44 additions and 9 deletions

View File

@@ -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)