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.
Develop games in your browser. Powerful, performant & highly capable.
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.
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!