Skip to content

A library of classes and helper functions to support game development in Pygame.

License

Notifications You must be signed in to change notification settings

rik-cross/pygamepal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A library of classes and helper functions to support game development in Pygame.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages