I want this white isometric tile to "snap" to the the background tile that the mouse is currently overlapping.
<img src="http://dl.dropbox.com/u/1024727/caps/tile1.PNG" border="0">
Here is my current code:
<img src="http://dl.dropbox.com/u/1024727/caps/tile2.PNG" border="0">
Which is obviously incorrect, since it will avoid the "inbetween" darker tiles. I tried comparing to see if "int(mouseX/23.5)" was an odd or even number then to position it accordinly, but that didn't work.
Here is a .cap file
Anyone have any ideas?