Simulation in Games: Week 10
If you read my previous post, it should come as no surprise that this week’s post is about… health and mana potions! And also the scoring system. Yay.
Health and Mana Potions
These are spawned from the floating towers in the background. Hurled from the towers with a random initial velocity, they are pulled to the ground by gravity as part of the Dynamic Objects script. Their models and hover icons are from the Unity Asset Store.
To pick them up, the player simply has to walk over them. Soon after, his health and/or mana will be replenished by a decent amount.
The Scoring System
Getting a high score in Spellcaster Academy can be difficult, especially without knowing the inner workings of the scoring system.
So, here’s how it works: The player’s final score is a sum of the amount and type of killed enemies, a time bonus (remaining time multiplied by 4; applied only on successfully reaching the level goal), and the player’s remaining health and mana.
That’s all for this week. Thanks for reading and see ya… after Easter!