Skip to main content

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


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.3.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

PyGameLab-1.0.3-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page