Special Spawn

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

I have posted a post like this before, but the answer I got was not what I was looking for.

I have a game, and the game has rounds I have an attribute that counts the amount of rounds played. Each round, the player stops and buys upgrades and health.

With the attribute that says how many rounds have been played (keep in mind that the player could get to round 1000!) But I want it to decrease the spawn time for the spawners.

But also I want the spawners to change what enemies are spawned and how often they are spawned.

Kthnx =) Dragokillz

Comments

  • rebumprebump Member Posts: 1,058
    It would help if you defined the re-spawn time for round 1 versus the re-spawn time for round 500 or round 1000 to get an idea of the range you are looking for to determine the type of "maths" to apply to it.

    e.g.

    `
    Round Respawn Time
    1 10.0 sec
    500 2.0 sec
    `
    Maybe an expression such as:

    Change Attribute
    `
    game.RespawnTime -> 10 - ln(game.CurrentRound * 10)
    `
    That will yield 0.78965 sec re-spawn for level 1,000 all the way up to a 7.6974 sec re-spawn time for level 1.

    There are other ways to do this too.
Sign In or Register to comment.