Does making things that aren't on the screen not _visible decrease lag?

Subscribe to Does making things that aren't on the screen not _visible decrease lag? 4 posts

avatar for facelesscoward facelesscoward 156 posts
Flag Post

Specifically, is it beneficial at all to split the background of a platformer-style game into multiple pieces and make them visible as they get near the visible stage?

 
avatar for dazzer dazzer 724 posts
Flag Post

I believe Flash does its own calculations automatically. I might be wrong though.

 
avatar for arcaneCoder arcaneCoder 2354 posts
Flag Post

_visible often helps, but invisible clips in flash often will still get rendered in some way. Its usually more beneficial to add/remove the clips as needed, or use a BitmapData object that gets updated. scrollRect is useful in some cases as well.

 
avatar for facelesscoward facelesscoward 156 posts
Flag Post

Sweet, thanks.