A downloadable extension

Download NowName your own price

This small extension introduces support for Data URI scheme to GameMaker HTML5 target, allowing you to use "data:[;base64]," format instead of normal URLs in most spots, though most handy for loading externally generated sprites.

Setup: Import the extension. That's it. You can now use Data URIs.

All thanks to some incredibly strange code that patches some built-in function 3 calls deep. Most people wouldn't do that to themselves.

Consider leaving a donation !

Download

Download NowName your own price

Click download now to get access to the following files:

AllowDataURI_for_GMS2.yymp 8.9 kB
AllowDataURI_for_GMS1.gmez 1.5 kB

Comments

Log in with itch.io to leave a comment.

Is there any alternative for the current version of GameMaker?

Have you tried it? And have you tried using a data URL without an extension? It looks fixed in the runtime source.

(+2)

So good, YAL is a good boy.