Snapshots / containers vs groups - tons of headaches

I must be missing some conceptual difference between the three things, because as far as I’m concerned I should be able to just swap between groups, containers and snapshots (setting the sizes where appropriate) and the view should essentially be the same.

However, I’ve just wasted over an hour without success just trying to get my game running with the view drawn in a snapshot (was a group), which is within a container (also formerly a group) - the result being that everything is clipped properly, and I have control over exactly when the view will be drawn (as I intend to stagger drawing for various players over different frames to keep it as stable as possible).

Can I get it to work? Not a chance.

The code that worked before with just groups and a single top level container now fails. The best I’ve managed so far is to show 1 quarter of player 1’s view, and nothing of the others.

Before I bash my head too much against the wall, what is it about containers and snapshots I am failing to grasp. I have got containers working on their own, and I have snapshots working on their own (albeit by trial and error, I still don’t understand why I had to put in the values I did to achieve it), but together, no joy.

What conceptual bit of understanding is eluding me that something so simple is driving me mad? :slight_smile:

I admit defeat. I am fairly certain I’ve simply found a bug with snapshots within container *sigh*

Well at least I can ignore it for now.

Can you share the sample you were playing with?

Is this what you are referring to?

http://forums.coronalabs.com/topic/39420-snapshots-not-working-properly-in-containers/

Will check this out in a bit and let you know - was out all weekend.

I admit defeat. I am fairly certain I’ve simply found a bug with snapshots within container *sigh*

Well at least I can ignore it for now.

Can you share the sample you were playing with?

Is this what you are referring to?

http://forums.coronalabs.com/topic/39420-snapshots-not-working-properly-in-containers/

Will check this out in a bit and let you know - was out all weekend.