Solved Level.TXT Spawn limit?

Question that is answered or resolved.

PS_VITA

Active member
Hi,
I have 19 objects spawning at coords "at 0" on my level.txt and I noticed that the 20th object I created (and tried to spawn at coords, at 0) would not show on the stage. After much head scratching I noticed that if I put the 20th object first on the level.txt that it would actually spawn.

So is there a limit to have many objects I can spawn at coords "at 0"?

What exactly is going on?


Thanks for any info related to my question.
 
Something else is going on.

There's no hard code limit for level spawns no matter where you place them. There is a limit to objects on screen at one time, but at minimum it's 500, and the last stable release was 5000.

I would guess you have some kind of conflict with grouping.

DC
 
Something else is going on.

There's no hard code limit for level spawns no matter where you place them. There is a limit to objects on screen at one time, but at minimum it's 500, and the last stable release was 5000.

I would guess you have some kind of conflict with grouping.

DC
Thank you DC,
What do you mean by grouping?

Could you elaborate a bit more on that?
 
He meant group command to control how many enemies could be spawned at once.



Hmmm... how do you know that 20th object doesn't spawn?


I knew that the 20th object was not spawning because I enabled features and position options to see and verify it was not spawning. Then afterwards, I simply cut and paste the code for the 20th spawn object above the list of all other 19 objects and it spawned immediately.
 
Hmmm... I wonder what kind of object you are spawning here. I can spawn 27 blocks fine here and there are other entities than blocks also.

Are you spawning effects or just obstacles?
 
Hmmm... I wonder what kind of object you are spawning here. I can spawn 27 blocks fine here and there are other entities than blocks also.

Are you spawning effects or just obstacles?


It's a bunch of different objects. Like,
P1 &P2, type none objects like background cars, rain effects, windows that can break, objects that can teleport the player, ect.

Anyhow, I managed to fix the issue by simply making a few objects not spawn "at 0" I simply added "at 600" and now all objects spawn fine. But my original question was answered so I updated my post.

I'm learning to simply keep pushing forward with the project and not duel so much on things I can't understand.
It's probably not optimized and not the proper way of doing things but that's okay, I love what I'm doing and how things are turning out.
 
Back
Top Bottom