Reputation
Next privilege 125 Rep.
Vote down
Badges
2
Newest
 Supporter
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 67 votes cast
Oct
16
comment Is it possible to map mouse coordinates to isometric tiles with this coordinate system?
it "kind of" works, the mouse accuracy is poor, so I think there is still some tweaks to do
Oct
16
comment Is it possible to map mouse coordinates to isometric tiles with this coordinate system?
I fixed the calculation by multiplying 0.25 to the tile width in offsetX and columnX
Oct
16
comment Is it possible to map mouse coordinates to isometric tiles with this coordinate system?
There is a problem with calculating the x column position in this line, it will just follow the mouseX position with no modification I'm trying to fix this currently columnX = (int) Math.floor((mouseX * TILE_WIDTH) / TILE_WIDTH);
Oct
12
awarded  Autobiographer
Oct
12
awarded  Supporter