axaq/traviso.js

How do I get the tile position from the cursor position?

Closed this issue · 1 comments

Also it would be very convenient if there was an event that was responsible for pointing the mouse at the object/tile, and not just when clicking

axaq commented

it is costly in terms of performance. but you can look at this method if you want to implement it anyway:

TRAVISO.EngineView.prototype.checkForTileClick = function(mdata)