Combat System

This week I've got the assignment from my teacher to switch to coding instead of focusing only on the art.

So I decided to code the combat system. Our main character can now fight the sand monster and defeat it. I also did some tweaks on the dialogue system which is programmed by my team mate. For example, the enemy stops chasing the character while in dialogue and depending on the choices of the player, the enemy returns to his base when spared or resumes the chase. And I've also programmed that the enemy drops the sword, which is made by another team made, when defeated or spared.

The player hits the enemy which is in his attack range. This happens when pressing the space bar. The amount of damage is depending on the attack damage. In this example the monster has 100 health and the damage of the attack is 30. When the enemy has less than 10 health an dialogue box appears. Where the player can choose to spare the enemy or keep the fight going. There are no effects or animations to see this in action. But everything works behind the curtains.

Check the video below to see this in action.


I did not yet made combat animations. Because we need to focus on the technique of the core mechanics first. 

Bibliography


Comments

Popular posts from this blog

2D isometric character design

Game pitch and 2D isometric art

Wrap up