Scaling up an Endless Enemy Spawner

Hello all I am very new to Gamesalad and this is actually my first post ever! Ive gotten alot of help from the forums but I have not been able to find a specific answer to this queston.

Some background:

I am trying to make a game that throws enemies at you and slowly increases in difficulty, spawning different/ stronger enemies as time goes on.

Im not quite sure approach this and make compelling gameplay. Are there formulas that the community knows of that will help? Perhaps something more advanced than simply increasing enemy count based on wave number?

I dont want to reinvent the wheel!

Thank you for the help!

Comments

  • DaftbombDaftbomb Member Posts: 36

    How about making a global integer attribute called "spawn" and initialise it to 1 upon starting level.

    In your player actor, increase the number by 1 every 10+spawn seconds of game time until spawn > 50

    In your spawner have an attribute called "random number". Every second change attribute "random number" to random(1, game.spawn) in the spawn actor.

    Then simply have rules for what value the random number returns:

    If self.random number > 3 and < 10 spawn monster A
    If self. random number > 20 spawn monster B

    Times and numbers are just a throwaway suggestion, but perhaps that's a way of slowly increasing difficulty. You could have a minimum random number too that slowly removes chance of weak enemies spawning. And if you have numbers that don't spawn at all it would spawn them randomly.

    Just a suggestion from a newbie.

Sign In or Register to comment.