Description: This is an example on how to put a sound loading screen in your game.
Download: Version 0: Only Sound
Version 1: Loads Sound, Sprites and Backgrounds
Size: 4.29MB & 4.33MB
Other: This is Not for Beginners
I have added version 1. You can now load Sounds, Sprites and Backgrounds.
I credit a guy on Newgrounds for the MP3.
Woah...168 views on the first 4 hours but 0 replies. Please reply.
If you want to add a loading bar, you can. It can be a loading bar to show you the total progress, but it can not be a loading bar that shows the progress of a single file, because while those files are being loaded, the game is frozen. First you need an object to draw a health bar. Make a global variable and put it in it's create event. In the example, if an object was done loading a resource, it would change to another object to load another resource. So in the script that changes the object, before changing, set the global variable to +1, +5, +10 etc. It doesn't really matter what number you add it up to. Just try to make it so that when all the resources are done being loaded, the global variable will be 100.
Edited by jchalase, 18 December 2007 - 10:52 PM.