Today the project made a small, but crucial step. I added the first stats to the game, stamina and health.
Health regenerates automatically, when it's lower then the max health, and when your health is 0 you're dead.
The stamina was somewhat harder to script, but after some cursing I found the way to script the stamina.
It now takes stamina to run, and it also regenerates automatically.
The next step to this script is of course setting the UI for the stats.
No comments:
Post a Comment