Is there a way to generate names on top of a sprite?

48 Views Asked by At

I'm a beginner in java and I'm using libgdx. Currently, I've followed a youtube guide to create a simple mario game and tweaked it into a 2 player game. However, is there a method to generate a name on top of a player to identify which player is which? Right now, what I did was edit the texture to add the player name, but that isn't the best way. Any help will be much appreciated. Thank you :)

0

There are 0 best solutions below