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 details)

Uploaded Source

Built Distribution

pygamepal-1.0.2-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

Details for the file pygamepal-1.0.2.tar.gz.

File metadata

  • Download URL: pygamepal-1.0.2.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pygamepal-1.0.2.tar.gz
Algorithm Hash digest
SHA256 13e6d2f43beb513fe93542b082e767296024d922427158e083e33a99f0baa936
MD5 7ae50f2741dfcc19a81d20025a3ead72
BLAKE2b-256 aff9a016a16aaead71716abca67c70f30b7afd4ab288462203aa872042215c32

See more details on using hashes here.

File details

Details for the file pygamepal-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pygamepal-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 44.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pygamepal-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 effb140a97463c17bfb028455182b989ce1409258850ec66054718aa6bb8df8c
MD5 e2ae2063cae66ed9b4ac6460846bd2df
BLAKE2b-256 bcfd17ed41fb61a442bcfdb8eec08bb8c4a354934573b579bdd65cae15f2fbfc

See more details on using hashes here.

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