python - Pygame, user input on a GUI? -
this question has answer here:
- how accept text input pygame gui 2 answers
i need user input pygame program
, need on gui(pygame.display.set_mode etc.)
, not like: var = input("input something")
. have suggestions how this?
there answers here. anyway, use pgu (pygame gui utilities), it's available on pygame's site. turns pygame gui toolkit. there explanation on how combine , game. otherwise, program using key events. it's not hard time consuming , boring.
Comments
Post a Comment