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
PyGameLab-1.0.1.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for PyGameLab-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c51bf39739f1d8287b908e5e2162d9672dca833d36808f8f399712c34e2965d |
|
MD5 | 6bab6c82076d13c14febeef8c29a6f64 |
|
BLAKE2b-256 | 7bc25e35f5763ef0388937d400a0da86efd874afb181c6f97f4092bc1bf6640a |