- Feb 19, 2021
- 8
- 22
I created a game that heavily features embedded videos and images. I'm currently sourcing those from RedGifs' CDN instead of storing them locally.
Obviously, I would rather store them locally for a variety of reasons, not the least of which is because the CDN gets ridiculously slow in the evenings (US time).
I can easily create relative links once the HTML file is Published. But when I'm running the game by clicking the "Play" button (which I need to do regularly to test), it stores the HTML file in a newly created folder with a seemingly random series of strings.
The only other advice I've found is converting my files to Base64 and placing those strings in the code, but that seems insane.
So, my question is, what's the best way to store images and videos in Twine (using SugarCube) so that I can still Test/Play during development?
Obviously, I would rather store them locally for a variety of reasons, not the least of which is because the CDN gets ridiculously slow in the evenings (US time).
I can easily create relative links once the HTML file is Published. But when I'm running the game by clicking the "Play" button (which I need to do regularly to test), it stores the HTML file in a newly created folder with a seemingly random series of strings.
The only other advice I've found is converting my files to Base64 and placing those strings in the code, but that seems insane.
So, my question is, what's the best way to store images and videos in Twine (using SugarCube) so that I can still Test/Play during development?