Hi again @rexrainbow
How do you add a chess at a tile position but with an offset x and/or y ?
I am placing an image but need to adjust the x/y position slightly.
board.addChess(myImage, img.x, img.y, img.tileZ)
That adds it, but I need to move it a bit.
Thanks,
Dan
Offset chess game object ( myImage
in this case ) after board.addChess
.
board.addChess(myImage, img.x, img.y, img.tileZ);
myImage.x += offsetX;
myImage.y += offsetY;
Awesome, works great. Thanks!
I have another question for tomorrow about Line of Sight and costcallback, but I need some sleep right now.
Dan