SPGL (Version 0.8.6)

Overview:

The purpose of the Simple Python Game Library is to give beginning Python coders a simple framework to make basic 2D games. It is intended as an alternative to Pygame. As it is built on the Turtle module, it has the same features and limitations of that module. It does not require any external libraries to be added.

Design Principles

Getting Started

Download the repository to your computer. There are 2 demo files, SPGL_Demo.py which is a simple game using primitives (squares, triangles, arrows, and circles). Use the arrow keys to control the player. There is also SPGL_Minimal_Example.py which contains a simple game framework which will create a window - use this as the basis of your own programs.

Performance

On my Linux machine, I can easily get 100 sprites moving around the screen at 30 frames per second. See the SPGL_Demo2.py program for an example.

Known Issues

Documentation

Connect with Me