GINORMOUS display group!

I was wondering if creating a very large display group has a noticeable effect on memory or performance? For example, let’s say I create a group and set the Y value to something like -1,000,000. Then, I insert a display object into that group at a Y of 1,000,000.

I’m assuming that as long as I keep the amount of display objects to a reasonable amount, it doesn’t matter where I position them, nor how virtually large the group is. Does anyone know if that’s the case? Basically I want to use the convenience of a very large group to make it easy to create a camera/viewport across a large level.

Groups don’t inherently use up much memory themselves, and the only part of it that changes with more objects is the table that contains references to each object - note, only references, nothing more). So you could have 10 images, spaced where-ever you want (including millions of pixels apart) and you wouldn’t see any more memory usage or indeed, slow-down than if you have these 10 images closer together (although naturally if all 10 are onscreen at once, it’d possibly slow down then, but only because of the actual drawing involved).

Memory usage in this case would be a tiny tiny amount for the display group, and whatever is needed for each of your 10 images (which would undoubtedly be a great deal more).

Excellent, that’s what I was hoping. Thanks for the response!

Groups don’t inherently use up much memory themselves, and the only part of it that changes with more objects is the table that contains references to each object - note, only references, nothing more). So you could have 10 images, spaced where-ever you want (including millions of pixels apart) and you wouldn’t see any more memory usage or indeed, slow-down than if you have these 10 images closer together (although naturally if all 10 are onscreen at once, it’d possibly slow down then, but only because of the actual drawing involved).

Memory usage in this case would be a tiny tiny amount for the display group, and whatever is needed for each of your 10 images (which would undoubtedly be a great deal more).

Excellent, that’s what I was hoping. Thanks for the response!