Hello,
Is it possible to split a big image into sprites on run time?
For example I have an image 600 x 600 size as a sprite on the canvas and I want to split that image into 3 x 3 grid.
Please let me know how to do that.
Thank you
Take a look at this tutorial:
https://www.scirra.com/tutorials/685/ma ... ne-concept
It uses a Canvas plugin to split the image.
Develop games in your browser. Powerful, performant & highly capable.
Try this tutorial
https://www.scirra.com/tutorials/1090/using-arrays