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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygamepal-1.1.1.tar.gz.
File metadata
- Download URL: pygamepal-1.1.1.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e053a6b25360696ff1f23daeebf8ef2cc1e372d5e26e8028f8a050f996d1682c
|
|
| MD5 |
1f90d59306aaeac8ee49fc617c07810e
|
|
| BLAKE2b-256 |
862e4eaa885ab8b7846942e37954c3b772b93d546ded03874afe12fc4b952fda
|
File details
Details for the file pygamepal-1.1.1-py3-none-any.whl.
File metadata
- Download URL: pygamepal-1.1.1-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9401a95e3a2cc77dd0cba05bb6e43c908567103f42c09d22ea968f1abb958f7b
|
|
| MD5 |
d6c517121f16f7951d5a672cf4b5943d
|
|
| BLAKE2b-256 |
8c42d23f2223e88505a1cf394dc0d398e5d8fa8c9ccfd9d75485fb37f87b742f
|