Skip to content

MyreMylar/pygame_gui

Repository files navigation

Pygame GUI

A GUI system for pygame CE.

pypi Documentation Status Python 3.8+ License: MIT codecov Downloads

Requirements

  • Python 3.8+
  • Pygame Community Edition 2.5.2+
  • python-i18n (does localization to different languages)

How to install

  1. Run this command in a command prompt:
pip install pygame_gui
  1. If all goes well you should see a message about game_gui being installed successfully and will be able to find pygame_gui in the list of installed packages for your python interpreter (PyCharm displays these as a nice list under File->Settings->Project:project_name->Project Interpreter).
  2. Should you need to delete pygame_gui for any reason then PyCharm will also let you do that from the same Project Interpreter settings window using the red minus symbol button.

How to upgrade to the latest version

Run this command in a command prompt:

pip install pygame_gui -U

Or, you may be able to use your IDE to update the library (PyCharm lets you update modules in it's interpreter settings).

Making use of the library

There is documentation available here, you can also try out the examples at the pygame_gui_examples repository.

Screenshots of Pygame GUI

pygame_gui_example_1

example_2

pygame_gui_example_3

pygame_gui_example_4