Compiled Image Texture
Posted 05 March 2012 - 01:35 PM
I've just gotton my hands on GM:HTML5 and I've been tasked with recreating a java game in HTML5 for a company.
Now I've noticed that when compiling a game it creates one or more texture files containing all images/sprites/backgrounds used by the game.
This is not an optimal choice for my project so my question is if there is a way to prevent this and just have the game read a whole bunch of small image files instead?
Posted 05 March 2012 - 08:33 PM
Posted 06 March 2012 - 09:35 AM
Yes, you can store all the resources in an external file and then have GM load them at run-time using the _add functions. Sprite_add, background_add, sound_add etc etc etc...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users