limit to spawning objects off screen?
rhinokey
Member Posts: 158
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?
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
-
AcceleratedGames Posts: 201GameSalad 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