Javascript isometric mouse over / click detection (grid XY from screenXY)
<p>I am trying to write a little game in javascript, but having a problem with the isometric stuff! (early stage, I know!).</p>

<p>Here is what I have to convert flat grid to iso grid.</p>

<pre><code>xs = x * (tileWidth/2) + (y * (tileWidth/2)) + offsetX;
ys = (x * (tileHeight/2)) - (y * (tileHeight/2)) + offsetY;
</code></pre>

<p>From the screen XY, how would I go about doing it?</p>
