python - Pygame, user input on a GUI? -


this question has answer here:

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

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -