Loading screen creation:

Whilst examining other online games I have picked up some knowledge of how to create my own loading screen and loading functions.

The way I’m going to attempt this is by setting up variables such as totalNeededToLoad and Loaded, then I will increment Loaded variable each time a file has finished loading. For the sound files this code will go inside my buffer function and inside the textureLoader.load(‘fileName’, function(){ loaded++ } for my image files.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s