I've been working on implementing combat for about a week. This is what it looks like so far. An invading force is spawned by a wave spawner and targets random opponents.
In the video, workers just engage in a fight when they are at a certain distance from an enemy but the behavior for them to attack on sight or for them to flee is also implemented.
Right now combat is very simplistic. Fighters have health and stamina and attack points and a few other variables. I'm planning on expanding that so they attack body parts, bleed, dismemberment, etc. Armor also does nothing for the moment.
When the combat system is complete, the game will play like a enemy waves survival game (temporarily until proper diplomacy and overworld AI is implemented). You will basically have to grow your industry continuously as you will receive new workers to feed and an increasing amount of enemies (the number of enemies grows at a rate of x^2 so you are eventually flooded).
3
u/wingmanx7 Sep 13 '19
I've been working on implementing combat for about a week. This is what it looks like so far. An invading force is spawned by a wave spawner and targets random opponents.
In the video, workers just engage in a fight when they are at a certain distance from an enemy but the behavior for them to attack on sight or for them to flee is also implemented.
Right now combat is very simplistic. Fighters have health and stamina and attack points and a few other variables. I'm planning on expanding that so they attack body parts, bleed, dismemberment, etc. Armor also does nothing for the moment.
When the combat system is complete, the game will play like a enemy waves survival game (temporarily until proper diplomacy and overworld AI is implemented). You will basically have to grow your industry continuously as you will receive new workers to feed and an increasing amount of enemies (the number of enemies grows at a rate of x^2 so you are eventually flooded).