I would like to create an input box in the main menu in my game to enter a player nickname and I can't find any libraries or other method to do this.
How can I do this?
I would like to create an input box in the main menu in my game to enter a player nickname and I can't find any libraries or other method to do this.
How can I do this?
I'm not sure if this is what you mean, but the input() function allows user input.
For example:
print('Enter your nickname: ')
nm = input()
print('Hello, ' + nm)