Hi !
I will finish my first Networking game, but something is missing : the game score board.
I want to make a little box with inside the Players and their kills/deaths, but i don’t know how to do it
can you help me please ? ![]()
Hi !
I will finish my first Networking game, but something is missing : the game score board.
I want to make a little box with inside the Players and their kills/deaths, but i don’t know how to do it
can you help me please ? ![]()
Are you looking at doing some sort of GUI?
int deaths = 0;
int kills = 0;
void OnGUI()
{
GUI.Label(new Rect(0f, 0f, 100f, 100f), "Deaths: " + deaths + " Kills: " + kills);
}
You should probably check out the GUI section on the Unity Manual, and there are some examples on the wiki http://www.unifycommunity.com/wiki/index.php?title=Scripts
yes, but i want to do that the others players can see the others scores, i am good with gui section ![]()
If you are still looking around for a way of doing this, it is most likely that you’ll be needing a database. A new score is saved to the database, then the scores are all read from it on the highscores page. Theres a perfect example of how to go about doing this in the Wiki ![]()
http://www.unifycommunity.com/wiki/index.php?title=Server_Side_Highscores