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
Is there any way to load BinaryData (DrawingCanvas image) to Dictionary and load it into a sprite?
To go a little deeper, is the value BinaryData.GetBase64? Not sure what format DrawingCanvas images are. For LocalStorage, you simply put the source as BinaryData with no BinaryData types.
Not sure why you need this. Converting to BASE64 and back is just a waste of memory.
You can store different images in BinaryData under different tags, which is very similar to the dictionary.
Develop games in your browser. Powerful, performant & highly capable.
Never thought of it that way, but you're right about the BinaryData. Didn't know how it was stored, but since it has tags, yes, I'll try to use that instead. Always best to save memory. Thanks!