limit to spawning objects off screen?

rhinokeyrhinokey Member Posts: 158
edited July 2012 in Working with GS (Mac)
is there a limit to how far you can spawn an object off screen or is it just something i'm doing wrong, i want to have platforms moving in from the edge of the screen. it seemed it was working great, until i decided to ramp up the size of some of my platforms. i came across a problem, when i spawn them i do the location (1024)+)self.width.x/2) that way the closest edge of the platform spawns right at the edge of the screen. this seems to work great up until that total is over 1500, anything further away than that seems to refuse to spawn.

i tested this by manually inputting the numbers and increasing them until 1501 when they just stopped spawning.

anyone else have this problem?

Best Answer

  • AcceleratedGamesAcceleratedGames Posts: 201
    Accepted Answer
    GameSalad has a limit of 500 pixels for off scene actors. If you want more than that you should just make the scene larger so you can spawn the platforms as far out as you want.

Answers

  • rhinokeyrhinokey Member Posts: 158
    actualy 1524 is the max it will go
  • rhinokeyrhinokey Member Posts: 158
    no thoughts? i guess a work around i'm going to have to do is have a class of platform that spawns in the limit, but as it moves towards the screen have it spawn another platform right next to it to make it longer. but would be nice to not have to jump thru hoops.
  • rhinokeyrhinokey Member Posts: 158
    OH MY GOD! i had totally forgotten you can increase the scene size! you are life savor!
Sign In or Register to comment.