We meet again, Amon!
You could do it by using the actual mouse co-ordinates to check for collisions. There would always only be one tile (or no tile) such that the following holds:
Hope this helps,
Ryan
You could do it by using the actual mouse co-ordinates to check for collisions. There would always only be one tile (or no tile) such that the following holds:
(MouseX() - tileX >= 0 ) And (MouseY() - tileY >= 0 ) And (MouseX() - tileX < tileWidth) And (MouseY() - tileY < tileHeight)
Hope this helps,
Ryan