Examples of using pygame in a separate process.
See here for more info on requirements.txt
.
Short version is, install pip
if needed, then in the folder with requirements.txt, run:
pip install -r requirements.txt
The examples were tested by running them directly on the command line with python
, like this:
python example.py
To run the larger example, make sure the assets folder contains a star.png file, and run:
python larger-example.py