Skip to main content

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!

Example

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


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

Uploaded Source

Built Distribution

pygamepal-1.0.2-py3-none-any.whl (44.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