Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
...or any image really. I know the canvas plugin has an 'asJSON property --which I can save in a dictionary or something, but how do you get the image BACK from that JSON string?
I just need to save and load image files which result from canvas manipulations to and from the web storage.
Anybody done this?
OK I did it. I didn't quite get that the imageurl from a canvas IS the image itself in text form. That can be saved and loaded no problem.
Anyhow That's a way to do it and the way I'm going with. Phew!
It helps to talk about it...
Right now the way it's done is to load it into a sprite and then pasting it back into the canvas.
Develop games in your browser. Powerful, performant & highly capable.
Yep. I'm working on a "my doodle game" type game so I'm doing that all over the place. Does save game save dictionary contents too? I guess I'll find out...