PyGameLab: A versatile Python library for game development using Pygame.
Project description
PygameLab
PygameLab is a versatile Python library for game development using Pygame.
Features
- Simplified game development with Pygame
- Easy sprite handling and manipulation
- Efficient event handling and input management
- Flexible text rendering with alignment options
- Image loading, display, and manipulation
- Polygon drawing and shape rendering
- Timer and time-related utilities
- Random number generation and utilities
- JSON and text file handling
- Unicode character retrieval
- Console logging and debugging utilities
Installation
You can install PygameLab using pip:
pip install PyGameLab
Usage
Here's a simple example of how to use PygameLab to create a game window:
from PyGameLab import Window
# Create a game window
window = Window((800, 600), "My Game")
# Main game loop
while window.running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
window.running = False
window.update()
pygame.quit()
For more information, documentation, and examples, visit the PyGameLab GitHub directory.
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 PyGameLab-1.0.3.tar.gz.
File metadata
- Download URL: PyGameLab-1.0.3.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b7b8d505b8e5c1193ecd380969db8abe0e7b12ce261f9983ec0d3692d39de04
|
|
| MD5 |
8710350ee5b59628a25acfdb6303797a
|
|
| BLAKE2b-256 |
be3c7be1b3fce6d8cdf88e85be513ce07778ce81edb92d4edb0890c8fe85f2b9
|
File details
Details for the file PyGameLab-1.0.3-py3-none-any.whl.
File metadata
- Download URL: PyGameLab-1.0.3-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5621bd59e4b9ce1581605017226ca2c9fb8aa3370ed434667552027132511e
|
|
| MD5 |
e230cfb4ddd7d187778235cd823226b4
|
|
| BLAKE2b-256 |
556f3018c0417d95b79ff2dfa461fc282be5a5d4087ef63d6174dd727da49885
|