Jump to content

Lag in animation when playing first time


Ayan Gupta
 Share

Recommended Posts

Hi All,

I have a game which uses a lot of spritesheets image sequence animations. I see a very bad lag and jerk when playing for the first time for most of the animations (specially when the animation sequence is distributed in multiple sprites). I have gone thru the forum and implemented prepare plugin in the below way :

let texture = new PIXI.Texture.from(resources[k].name);

Renderer.plugins.prepare.upload(texture, this.onUploadDone.bind(this));

 

But it did not help. Any idea how to solve this as the lag and jerk is too bad experience.

 

Thanks in advance

Ayan

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.

Loading...
 Share

  • Recently Browsing   0 members

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