Zombie game wave difficulty progression,
Members - Reputation: 152
Posted 15 July 2012 - 11:43 AM
Well, here's an interesting theoratical question.
I'm making a zombie game in Unity for school's finals projects, and I just started work on the wave manager script.
Everything is going fantastically so far, but I was just wondering, since I couldn't find any articles anywhere online, how exactly do games typically plan their difficulty progression? How should I construct the formula to decide how many spawns should be on every wave?
I could always go with a simple straightforward calculation of something like waveSpawns = wave*4, but that just doesn't seem right at all.
I want to know what methods are usually used in zombie games, or even just any other game that uses similiar difficulty progression logic.
Thanks alot for any input.
Members - Reputation: 236
Posted 15 July 2012 - 05:57 PM
Difficulty(t) = a * exp( b * t + c ) + d * sin( e * t )
Where t is time and a, b, c, d and e are constants to be defined. Find the best values for a, b, c, d and e by play testing the hell out of it. And if necessary, don't be afraid to override the equation at certain parts of the game, if it's not working very well there.
If you're curious, I came up with that curve because similar shapes come up when I google search for "difficulty curve games". They all look like some exponential with local peaks and valleys, so I made this thing up. I've plotted it with a few values here at fooplot.com, click here.
How to translate that into something usable in your game is up to you, as it depends on what you're doing. Sounds like you're going for a tower defense thing (the term "wave" gave it away). Besides the number of enemies in each wave, it can be tricky to translate difficulty into something more solid, because enemies can be 'different' and the difficulty associated with each class would depend on the way the player is preparing (or not preparing), so good luck with that!
Crossbones+ - Reputation: 3923
Posted 15 July 2012 - 06:18 PM
Edited by Mussi, 15 July 2012 - 06:19 PM.
Crossbones+ - Reputation: 4972
Posted 16 July 2012 - 12:52 AM
Personally I'd just make it as in most tower defense games: fixed waves by design and more and more playtesting.
Members - Reputation: 1184
Posted 16 July 2012 - 04:44 AM
Having more than one aspect to vary the difficulty enhances the feeling that the difficulty rises non-linear even if you have quite linear formulas in the background. I once did a very simple tower-defence game where instead of just using the number of enemies spawned I also increased their speed and toughness as well as the spawn speed. The first wave started off with all values set to 1 and then I began to increase a random stat every new wave. This had the effect, that even a wave with few enemies could be quite hard to beat and that it didn't feel like the AI was just beating you by increasing the number of enemies. Of course this was far from balanced and it might be a good idea to weight the values somehow, but as Mussi wrote, in the end finding the perfect balance is a matter of testing.
How should I construct the formula to decide how many spawns should be on every wave?
Members - Reputation: 152
Posted 16 July 2012 - 10:59 AM
A little too early in development for that, but I'll keep it in mind.
Thanks alot all of you(Upvoted everyone) =)
By the way, though, the game is a traditional zombie survival game, not a tower defense. I'm mainly using CoD Zombies as reference.
Members - Reputation: 179
Posted 16 July 2012 - 02:40 PM