Hello, just really wanted to ask if objects are automatically deactivated\not drawn when outside of the game window or should this be taken care of by the user? Or are they still active\updated but the performance hit is not worth worrying about?
Develop games in your browser. Powerful, performant & highly capable.
As far as I know, objects outside the layout are not drawn but are still processed (logic). If you don't need the object anymore use the behaviour destroy outside layout, or you can do it manually via events if you want more control, with the condition "is outside layout".
If you didn't read the last blog entry then I recommend it:
http://www.scirra.com/blog/83/optimisation-dont-waste-your-time
Yes, I believe objects outside of the game window are not rendered, but logic is still calculated for them.
Thanks for the tips guys.
I did read the last blog but this wasn`t mentioned. It was actually the reason why I brought this topic up actually.