How would I make so that the player could draw on a canvas, and then whatever he drew became the image for a already made sprite?
Like where he draws his worst fear and then it attacks him :3
Develop games in your browser. Powerful, performant & highly capable.
There apparently is a way to take a snapshot of an canvas, or even part of it, and if I have correctly read the manual, that snapshot can then be loaded to Sprite object. I have no idea, how to implement it, though.
Closest thread I found was, unfortunately it has no examples etc.
I haven't used it, but there's also a Canvas plugin. Luk et up im too lazee