The Loader multiatlas file type has changed.The Loader has a new file type: atlasXML which will load a Shoebox / Starling / Flash CC format XML Texture Atlas.You now specify the JSON file first, and if you wish you can leave out the audio file URLs and let the Loader figure it out from the JSON meta data. This now happens as soon as the file has loaded because the browser is likely mostly idle during this time anyway, so it allows us to distribute the file processing throughout the load time, rather than in one lump at the end. Which would add them into the various caches, create textures, and so on. Before, it would load every file, and once they were all complete it would then process them in turn. The Loader now handles the flow slightly differently.It's up to you to handle this in your code, or create a type of loader graphic that doesn't highlight this (such as a spinning circle instead of a progress bar). So if you add a bunch more it may look like it has reduced. A side effect is that if you do it a lot, your progress bar may jump around, as it's based on the number of files in the loader at that point in time. Indeed, this is how the new Pack files feature works. ![]() ![]() New files can be added into the load queue, even while a load is in process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |