Sign in to follow this  

Image Animation loading progress

Recommended Posts

I would to use a a way to show loading progress for my loading scene but instead of a bar I have a gear sprite sheet that I would like to spin until loading is complete. Is there reference to this anywhere I have been combing through the P3 examples and can't figure out how to link the two together. 

Share this post

Link to post
Share on other sites

Sounds like you want to play an animation during a Loading scene, and then transition to a different scene once all the loading has completed. 

You can load a spritesheet for the gear before a Scene starts using the scene's config object (see\scenes\scene files payload.js) and use that in a Loading scene. Then once everything has loaded (i.e. the `create` function of your scene gets called) you can switch to a new scene (like this\scenes\change scene from create.js).

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.