A library of classes and helper functions to support game development in Pygame
Project description
PygamePal
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
Usage
- Install:
pip install pygamepal
, or - Install from local source:
pip install -e [repo path]
Add suggestions and bugs here!
Getting started
- See the Documentation on readthedocs.org.
- See the simple examples of functionality used (mostly) individually.
- See the Full example, using lots of PygamePal functionality.
Licence
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygamepal-1.0.1.tar.gz
(35.3 kB
view details)
Built Distribution
pygamepal-1.0.1-py3-none-any.whl
(44.2 kB
view details)
File details
Details for the file pygamepal-1.0.1.tar.gz
.
File metadata
- Download URL: pygamepal-1.0.1.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8119995a26a0d1f86e660636e1e17c1ca3277ea46ab0b5d359cac9dfe3ecede |
|
MD5 | 4da61d2c956a649bedc98a5c589b86a5 |
|
BLAKE2b-256 | a8eea2cb42ca297a93c3b6861c2288d6d3ddeecdd8062d632183b078d8eb3781 |
File details
Details for the file pygamepal-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pygamepal-1.0.1-py3-none-any.whl
- Upload date:
- Size: 44.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd4d49da34482d2948b9858e9736719a85175dd1023a3387bded7b6876b68ce |
|
MD5 | 58609573c3866c6248c63fefd6ec3adb |
|
BLAKE2b-256 | 9fc276a175d2b6214fad58986e68f22f97a48f091fe51d0b75bd73dd7d651175 |