Source

easypg /

Filename Size Date modified Message
easypg
examples
54 B
92 B
1.1 KB
48 B
977 B
816 B

Description

The easypg package provides modules to make using Pygame easier, particularly for those learning to program.

Currently, it consists of a module defining some standard colour tuples, a module to simplify the drawing of lines, shapes and text, a module to support font handling, two modules to support the use of sprites and a general utilities module providing various tools such as a Window class with a built-in display loop.

See the module docstrings for more information.

Requirements

  • Python 3 or newer to use the package, 3.2 or newer to run all the example code
  • Pygame, compiled for Python 3

Acknowledgements

Some of this code is inspired by examples in the book Game Programming - The L Line by Andy Harris (Wiley, 2007).