Increase Spawn Time and What Actors are spawned

ForteForte Member, PRO Posts: 297
edited November -1 in Working with GS (Mac)
Hi everyone,

I have a game, and in the game there are rounds, and I have an actor that will add +1 to the Rounds played actor. Keep note that it also saves itself.

Anyway, I have multiple types of enemies in the game. And with the enemy spawner, I want it to see how many rounds have been played, and depending on the amount of rounds played i want the spawner to spawn a bit quicker and harder enemies.

Any ideas?

Cheers, Dragokillz

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    It depends on how you spawn stuff, and how many rounds there are.

    For example:

    If you say 'every 5 seconds, spawn an enemy' and there are four rounds, you could vary this by using a condition.

    Every 5 seconds-number_of_round, spawn an enemy.

    This way, if round =0 then an enemy would spawn every 5 seconds.
    If round = 1, it would spawn every 4 seconds
    if round = 2, it would spawn every 3 seconds

    Does that help?

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • ForteForte Member, PRO Posts: 297
    sort of, but the player might get to over 5 rounds?
  • ForteForte Member, PRO Posts: 297
    you see quantam sheep, what i meant was that, one round is played, a certain number of enemies are spawned, and then when they are all killed, a chance a boss might come, or the round ends. Then the player goes into a shop to buy upgrades and stuff, then they start the next round.

    They could get up to round 10000!!!
  • ForteForte Member, PRO Posts: 297
    help please!!
Sign In or Register to comment.