Base64 strings as sprites
Description
It would be nice if we could add sprites not only from file system or from URL, but from Base64 strings as well
Did you try using a data url? As long as URLs are supported you should be able to use Base64 strings as well using those.
oh, it's already exist, nice. Then you should add info about this possibility into description block when adding a file from URL
Thanks @arthuro555 for the suggestion! I'll see how we can add info about this possibility!
Personally, I believe that wanting to use base64 encoded images is something a very select few users would ever want to use, and if a user even knows about base64 encoded images I would expect them to know what data URLs are too. I feel like including this in the IDE would be giving users an unnecessary detail that would confuse most of them. One of GDevelop's goal being to be easy to understand and accessible, I don't think we should add such technical details in the description of the resource URL selection field like suggested.
maybe in desktop version only few users will be using Base64 images, but in browser version it's more preferable over the usual URL's. Because no need to find a hosting for images to keep them for your project
Personally, I believe that wanting to use base64 encoded images is something a very select few users would ever want to use, and if a user even knows about base64 encoded images I would expect them to know what data URLs are too. I feel like including this in the IDE would be giving users an unnecessary detail that would confuse most of them. One of GDevelop's goal being to be easy to understand and accessible, I don't think we should add such technical details in the description of the resource URL selection field like suggested.
I agree with you. It could be a button Advanced options at the lower left corner of the dialog.
maybe in desktop version only few users will be using Base64 images, but in browser version it's more preferable over the usual URL's. Because no need to find a hosting for images to keep them for your project
There might be some news coming in the next months on this side. In the meantime, we could add this button.
that would be nice, it's a really good idea about Advanced options button
Two things:
- There is definitely a need for hosting resources. We'll have something to help this in the short term future.
- Base64 works, but it's a "hack", in the sense it was never officially supported. You can use it for now, but be prepared to change this in the future once we have something new :)