The destructibility algorithm is based on the use and modification of the Drawing Canvas. This allows you to insert any image into the game.
50 lines of code for the whole project! Including the interface, as well as adaptation to mobile devices.
Includes automatic updating of the canvas when the screen resolution changes.
Using the functions will allow you to use the algorithm easily.
Try it in Arcade above
Supports mobile and desktop versions