I also started learning Unity Engine. I’m working on a prototype which I call “The Watchman”. I plan it to be a third person game where The Watchman(blue pill) tries to defend a path from incoming enemy waves(red pills).
I have implemented camera movements by searching how to do that on the internet and found a solution using quaternions. As far as I’m concerned, quaternions are used a lot in this field for preventing the so called gimble lock. Right now, I can use quaternions in Unity but I don’t fully understand the mathematical concept behind it. I will study that in my free time!
I have also implemented some parts of the game mechanics and animations;
Facial Expressions
Facial expressions depend on the health of the living entities in our game such as player and enemies
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/angry-1.png?w=515)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/angrysmile.png?w=691)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/sadanim.png?w=625)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/furious.gif?w=600)
And here is the state diagram of facial expressions;
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/facialexpressionsstatediagram.png?w=1024)
Player Stances
There are certain stances for players. They are activated with inputs and cooldowns written with coroutines in C# scripts
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/firinganim.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/guardinganim.png?w=617)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/guardwalk.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/runninganim.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/watchmanattack.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/spinattackanim.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/dodgeanim.png?w=768)
Example Gameplay
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/spinattackaction.gif?w=600)
![](https://erendere.wordpress.com/wp-content/uploads/2021/03/firing.gif?w=600)
Notes
I’m a complete noob in Unity but doing my best learning it. I will not quit learning it till I completely feel comfortable creating prototypes. I will add more updates as I carry on developing this prototype.