Jump to content

Questions on prepare plugin


Recommended Posts

Asking again about prepare plugin just in hope that someone adds new information on subject. Some time ago I started topic 

and the problem stiil exists, I tried to use prepare plugin in different ways (upload whole movieclip, upload frame by frame, add frames, and then upload so on) but nothing helped, lag still exists. I've looked at source code of prepare plugin (https://github.com/pixijs/pixi.js/tree/58ccf3381566c009c418aa305924539f372281f3/src/prepare) and I got very unclear understanding of how it works (what role play limiters and so on).

So far I have several thoughts on this, and I hoep to get feedback on them.

1. Should I prepare my atlases in some way (make their dimensions power of two, and size no more than 2048) Should it help?

2. I suppose (from reading source code) that some uploading may be stopped by limiters, where can I get more information on that? (maxItemsPerFrame and maxMilliseconds - what does they mean?)


Thanks in advance!

Link to comment
Share on other sites

Sorry, can't do anything without demo with a lag. I can look at the code and make demo a week or two later, but if you do that, I'll solve the issue in a matter of hours :)

Also, do you want to join pixijs slack or telegram html5-russian conf? I can invite you on both. You can ask author of "prepare" extension in slack.

Link to comment
Share on other sites

  • 4 weeks later...

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.


  • Recently Browsing   0 members

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