Jump to content

Slow object initialization Spriter on Construct2


hieronims

Recommended Posts

Slow object initialization Spriter on Construct2

Hello,

At what point do I put the initialization file Spriter in events, because my game is complex I both global events and events related to a particular layout.

My concern is that sometimes my main character is not initialized and sprites is on the ground.

Should I initialize the object Spriter only when it is in the layout or can I do it before.

In the initialization is done but sometimes late, then that's fine. This is probably related to the speed of the machine that executes the game.

Thank you.

 

imgpsh_fullsize.png

 

To test the game is here: http://mazeofchronos.fr/jeux/0.0324/

thank you in advance

Jérôme PERRET

 

Link to comment
Share on other sites

Try initializing the Spriter objects in the title-screen where they can't be seen and see if that resolves the issue in following frames.

You could also add a loading overlay that hides the screen until all Spriter objects are finished setting up.  I think I did this before by testing to make sure the Spriter objects playback was beyond 0.1 seconds..

 

Does this make sense?

-Mike at BrashMonkey

Link to comment
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.

Guest
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...