Starting point for creating a Python game using Pygame.
Add code, images, and sounds, then build into a single executable using PyInstaller.
- Clone repository
- Delete
.git/
directory (so you cangit init
) - Replace
pgtemplate
with game name everywhere - Put images in a new
resources/img/
directory - Put sounds in a new
resources/snd/
directory - Install build dependencies:
pip install -r build-requirements.txt
- Install game dependencies:
pip install -r requirements.txt
- Build standalone executable:
make.sh build
- Clean build artifacts:
make.sh clean