moving views and split screen (AS3 games development issue)
Hi guys...I'm relatively new to actionscript
- How do you move the workspace dynamically using AS3 (say in a platform game where the viewable area pans around the player)?
- One suggestion was to make everything move relative to the player:
- Is there a way to group all movie clips together, without creating and iterating through an array?
For example there could be one holder movie clip which all viewable objects (apart from the background image) are attached to. Each of the objects could have x and y coordinates relative to the holder movie clip.
I don't know how to do this though.
- Is there a better way (i.e. changing the x and y offset of the workspace dynamically)?
- Say if one was to make a multiplayer game where each level is over 4000x4000 px in dimensions.
How do you split the screen with AS3 so that each player has their own view of the level?
Thanks in advance for any replies