lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
527 stars 191 forks source link

Input text field? #287

Open eugene-bce opened 2 years ago

eugene-bce commented 2 years ago

I might have missed it in the docs, but is it possible to create a text input field in pgzero (i.e. for name input, high scores etc)?

tbukfrc commented 2 years ago

Unfortunately, from what I could tell, no. A multiplayer project I started working on required me to have a login screen, so I ended up just using Tkinter to pop up a window for that.

I know there are some 3rd-party libraries for text input using standard Pygame, but I don't know of any for pgzero. It would be great to have that implemented.