A library of classes and functions to support game development in Pygame.
- Simple, beginner-friendly interface.
- Choose the bits you want to use, and continue to use Pygame for everything else!
Includes:
- A Game class that extracts away a lot of Pygame boilerplate code
- Scenes
- Transitions
- Cameras, including zoom, shake and clamp
- Sprites
- Sprite Images, for creating images and/or animations for multiples states
- Input, including press, down, long-press and double-press
- Buttons that can be controlled by mouse or key press
- Lighting
- Particle Emitters
- Colliders, which have simple collision detection
- Triggers, which execute user-defined functions on collision
- Install:
pip install pygamepal
, or - Install from local source:
pip install -e [repo path]
Add suggestions and bugs here!
- See the Documentation on readthedocs.org.
- See the simple examples of functionality used (mostly) individually.
- See the Full example, using lots of PygamePal functionality.
Distributed under the MIT License. See LICENSE for more information.
All images taken from Sprout Lands asset pack by Cup Nooble and used under a non-commercial license.