Page 1 of 1

Asteroid Smart Spawn

PostPosted: Thu Nov 05, 2015 4:18 pm
by furbuggy
So, asteroid flooding is a problem, and while I think my proposed fix would be pretty easy to implement through a level gen, maybe it would be worth making a feature in the level editor so that the regular map maker could more easily make not-horrible maps that happen to have asteroids.


Solution:
1) For each asteroid spawn, the map maker sets an adjustable radius.
2) The editor decides on a numerical cut-off point for that area.
3) As long as the number of asteroids in the area (X) are less than the cut-off point (Y), the spawner continues to spawn them.
4) Once X = Y, the spawner stops.

Bonus points:
The rate at which the spawner spawns asteroids gets slower as X -> Y, with an asymptote at Y.

Re: Asteroid Smart Spawn

PostPosted: Thu Nov 05, 2015 11:33 pm
by amgine
I actully agree with this but I do have some concerns.

1. I think asteroid count should be over a entire level not a certain radius.

2. This breaks bitfighters best map ever airlock :)

Re: Asteroid Smart Spawn

PostPosted: Tue Nov 10, 2015 2:35 pm
by furbuggy
The adjustable radius would allow more flexibility, but would allow us to set it to the whole map if we wanted. Seems like a win-win.

Re: Asteroid Smart Spawn

PostPosted: Wed Nov 11, 2015 11:56 pm
by amgine
I am not sure but couldn't you still have a problem of having like 20 extra asteroids in a level but them all being out of the spawn range thus keeping asteroids spawning?

Re: Asteroid Smart Spawn

PostPosted: Fri Nov 13, 2015 1:07 am
by Skybax
Yes amgine, of course if you used the entire concept of "zones" incorrectly and didn't plan ahead for the fact that asteroids move around (by making walls or increasing the zone size) then yes your map would be totally broken and unusable. Thanks for the great input there.

Re: Asteroid Smart Spawn

PostPosted: Fri Nov 13, 2015 11:12 am
by amgine
Skybax wrote:Yes amgine, of course if you used the entire concept of "zones" incorrectly and didn't plan ahead for the fact that asteroids move around (by making walls or increasing the zone size) then yes your map would be totally broken and unusable. Thanks for the great input there.


I am not sure if that's sarcasm or not......

I really think just having asteroid spawns count asteroids for a entire level would be easier and more efficient less chances of levels getting overrun with asteroids that way and easier to edit one number then five.

Re: Asteroid Smart Spawn

PostPosted: Mon Nov 16, 2015 6:49 pm
by watusimoto
This sort of limited asteroid spawner could be implemented in a level gen pretty simply.

We have a timer object that you could say every 10 seconds (or whatever) do something.

And that something would count how many asteroids are within a certain distance, and either spawn a new asteroid, or not.

Re: Asteroid Smart Spawn

PostPosted: Tue Nov 17, 2015 10:40 am
by amgine
True but not everyone is skilled enough to learn or know how to program I think having a general public version of this may be better.