Hopson97 / open-builder

Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
https://github.com/Hopson97/open-builder/projects/3
GNU General Public License v3.0
703 stars 80 forks source link

Make player names rendered above player's #120

Open Hopson97 opened 4 years ago

Hopson97 commented 4 years ago

Suggestion Title

Player names

Describe your suggestion

Right now it is impossible to identify players of the game.

It would be pretty cool if instead the name of a player was rendered above their heads.

Implementations ideas [optional]

  1. First we need some way for every player to have a name (This is technically already a thing as the client is rand like ./open-builder -client <name here>, but nothing is done with the player name for now)

  2. Then a way must be found to render the text in 3D

  3. Clients of the game need to know the name of the players (Through the use the existing packets for notifying players when someone has joined)

  4. Finally, render it above their heads