RatonPaladin Posted June 11, 2015 Report Share Posted June 11, 2015 Hi everyone! There is a boss in my game who launch fireballs. I had a bug, and the boss launched an enormous amount of fireballs, but I noticed no drop of performance (and my PC is not really powerful). So here's my question, does sprites disapear when they are too far from the camera / world bounds? Thanks! (and sorry for my english, this is not my native langage) Quote Link to comment Share on other sites More sharing options...
devx123x Posted June 12, 2015 Report Share Posted June 12, 2015 No they do not do this by default. If you want your sprite to disappear when it is outside the camera, set sprite.autoCull = true Quote Link to comment Share on other sites More sharing options...
RatonPaladin Posted June 12, 2015 Author Report Share Posted June 12, 2015 Thank you very much! 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.