So I have a small game when you draw on the drawing canvas, but when the player finish, I want to capture that drawing and show it in the next level. How do I do that?
Could anyone please help?
In my theory, you can do that with this flow:
1 - Draw on Canvas.
2 - Take Snapshot.
3 - Use AJAX to convert to BinaryData.
4 - Save snapshot from BinaryData to Local Storage.
5 - On load on next level, load the sprite from storage and paste into DrawingCanvas.
You can refer from the answer of Ashley.
construct.net/en/forum/construct-3/how-do-i-8/save-snapshot-image-taken-142353
Develop games in your browser. Powerful, performant & highly capable.
Here is my example:
affectionate-thompson-08e6a4.netlify.app