Working with scenes, layers and backgrounds

jon2sjon2s Member Posts: 40
edited November -1 in Working with GS (Mac)
Ok, multiple part question. I have a setup that is basically a side scrolling setup (left->right). It is quite wide as for the main part of it does not repeat at all. Think Mario like. The height is set to 320, width XXXX.

First Question: Is there a limit to width of a scene? I know that images are limited to 1024x1024, but you can make the width much wider. I know that 10,000 is possible, but is that or 20k, 30k reasonable on an iphone?

Next series of questions. Given the above setup again I would like to make a 3 or 4 layer background that scrolls at different speeds so as to create depth. For the bottom most layer it would not be scrollable. The next layers would need to be able to move at different rates from right to left. Now I see that I can't have layers different sizes, so the question becomes do I create a repeating image and put however many in each layer and just have them all move at a certain speed? Is there a better way?

To paraphrase, main game action layer is 10,000+ px wide. Background layers really probably need about 1024px wide worth of image on each layer but I need them to wrap.

Hopefully this makes some sense.

Jon

Comments

  • jon2sjon2s Member Posts: 40
    I can understand that tshirt limitation, but is that 20 or 30 actors total in a scene or currently on a scene.

    Let me try to explain. If your screen is moving from left to right and you spawn actors once you are within 300 px of them coming onto the screen (to the right) and once they have passed your sceen and are 300 px past the viewable area (to the left) you destroy them so really at any given time there are only 10 actors on the screen.

    The other thing to know is that really as far as actors outside of the background, there are only 6 or so. 3 of which are added to the scene over and over.
  • jon2sjon2s Member Posts: 40
    any chance you are going to be in the IRC chatroom sometime? =)
  • rebumprebump Member Posts: 1,058
    Wait, what? Is there a GameSalad IRC chatroom?
Sign In or Register to comment.