Displaying animation before the sketch starts.

I have a sketch where there are multiple sounds && images are loaded in the preload() function. It takes about 5 seconds to load everything and then the sketch starts.

For this 5 seconds,the screen goes black. Instead of that I want to display some little animation which would keep the user active instead of looking at the black empty screen.

How can I do this?

Tagged:
Sign In or Register to comment.