Code in FIVE Minutes with ZIM (28 - HoverBoard) JavaScript for HTML Canvas - Learn with ZIMjs

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Just thinking... it might be good to provide a hitTestTile() method that returns the col and row of an x and y on the tile - so pass in frame.mouseX and frame.mouseY and it gives a fast answer - {index:val, col:val, row:val, point:{x:val, y:val}} That way, you could loc(answer.point); Will add to ZIM!

ZIMLEARN
visit shbcf.ru