forleafe Posted October 19, 2017 Share Posted October 19, 2017 I wanted to ask how memory intensive pixi containers are, that is... var container = new PIXI.Container(); My game works by utilizing multiple containers as convenient layers that I can loop through cleanly and flick visibility on and off for different game states. Before I get much farther in development, I wanted to ask if this was a bad practice or if there was a better one? Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 19, 2017 Share Posted October 19, 2017 Its just lightweight js object, you can have tens of thousands of them. The upcost is that pixi will iterate through "visible=true" ones each frame, its really small. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.