Urgent help with Health System in a 2D game
I have a very specific question to ask, I'm working on a health system for a group project but I'm very inexperienced in scripting. Using C# I have to create a health system that also acts as a score system- If an enemy attacks the player, the player loses score points; when the score reaches 0 its a game over. When a player attacks the enemy they gain health points/score, after reaching certain amounts of points the player goes to another level.
specific info: player base health 50 enemy damage 25/30 player attack damage 50 enemy health 100 score gain 10/20
There is no question here. You just described what you need to do.
No one is going to write the code for you, so ask us a specific question and we can help you out.
Answer by Zoogyburger · Mar 18, 2016 at 05:17 PM
The Level System in this series should get you a head start:
https://www.youtube.com/watch?v=Pk3GCgaNVTY&list=PLiyfvmtjWC_X6e0EYLPczO9tNCkm2dzkm
Your answer
Follow this Question
Related Questions
Enemy wont deal damage 0 Answers
2D AI movement 0 Answers
Changing Variables on one script with multiple other scripts 1 Answer
How can I reset the score counter? 2 Answers
how to disable dontdestroyonload on a specific scene 2 Answers