garry Posted December 9, 2018 Share Posted December 9, 2018 I have a performance issue (using pixi 4.8.2 , i've also tried other versions) I creat some sprites *fromImage* and moving them toward an angle simply like this: sprite.x += 1 * Math.cos(sprite.rotation - 90 * (Math.PI / 180)); sprite.y += 1 * Math.sin(sprite.rotation - 90 * (Math.PI / 180)); they all have a same 1kb image, when the sprites count goes higher than like 1000 their movement start becoming jumpy (they slow down then suddenly they move faster - no lag) I tried particle container but nothing changed. and btw there is no frame drop, always 60. (don't mind the timer, it's from something else, i disabled it and tested, it had nothing to do with this issue) Any idea what is the problem? (testing this on a core-i3, 4gb ram computer) Thanks Quote Link to comment Share on other sites More sharing options...
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.