Normally I would wait until Monday to roll out the week's big patch, but I need some bug testing done and I can fix things much faster over the weekend!
New Enemy System
This update brings with it a completely new enemy wave system. Previously each wave had the following attributes.
- Common Enemy
- 2nd Common Enemy
- Single Spawn Enemies (list)
- isBoss (true/false)
That's it... I was able to get some pretty good use out of the Single Spawn enemies, by doubling up and such, but really it was an extremely simple system that didn't let me do anything interesting.
The new enemy system has a number of cool new features
- Enemy spawn density curve (more enemies as waves increase)
- Enemy elite chance curve (more elites as waves increase)
- Flying Enemy spawn points
- List of potential enemy targets (currently unused, but future proofing)
And each wave has a much more generic approach, with a list of Enemy Chances. Each Enemy Chance has the following options
- Enemy Type
- Weight
- Single
The enemy type is fairly self explanatory, but the Weight and Single fields are the important part.
Single - Lets me guarantee a single instance of this enemy will occur somewhere during the wave.
Weight - A relative weight value for the chance to spawn the enemy type. (Ex, if I have two enemy types, both with a weight of 2, they each have a 50% chance to spawn. If I have 2 enemy types, one with a weight of 3 and one with a weight of 1, then the first has a 66% chance to spawn). Weights of SingleSpawn enemy types are ignored.
It's still pretty RNG based, but there should be much more interesting variation possible now.
This new system should also let anyone leave the game and continue uninterrupted. However, I can only test so much, which is why I am releasing this now. Would really like feedback on bugs/issues so I can fix them asap. There are definitely going to be some...
Other additions/fixes
- New flying enemy type
- Arrow stuck in bow should be fixed
- Talent nodes disappearing should be fixed
- Gate health should always correctly face player
- Boss attack distance increased (should stop from intersecting door)
- Boss health lowered slightly
- Tutorial progress reset for testing purposes (need it tested as well)
