Simple pygame game engine.

engine, pygame, game, game-engine, unity
pip install pygame-engine==0.0.6



Pygin is a simple game engine made using Pygame.
One of the purposes of this engine is for making to build more complex games using python.
This engine includes support for collisions, meshes, materials, game objects and scenes.
The elements used are very similar to the ones used in the engine Unity.

Getting Started

These instructions will get you the Pygin package ready to run on your local machine if you use Linux. Instructions for Windows and Mac would be quite similar.


You will just have to install Pygin. The instructions below will show you how to do this for Linux (Ubuntu 16.04).

Install Python

First, install de most recent Python version and the most recent version of pip. Therefore install Python3 setup tools and pip:

$ sudo apt-get install python3-setuptools
$ sudo easy_install3 pip

Install Pygin

Now you will just have to install the Pygin packge. Then install Pygin using pip:

$ pip install pygin


This project aims to create a game engine to make easier the precess of game development using python. To understand a little bit more about how the code is structured visit the wiki.

Example Games

game game

Check out the game Balance, a simple and challenging arcade game made using Pygin.


Notes about documentation and contributing

If any substantial change is made, please, help out with the documentation using the wiki.

Upgrading version on Pypi

Make sure you have the latest versions of setuptools and wheel installed:

python -m pip install --upgrade setuptools wheel

Now run this command from the same directory where is located:

python sdist

This command will generate a file in dist directory.

Now you’ll need to install Twine:

python -m pip install --upgrade twine

Once installed, run Twine to upload all of the archives under dist:

twine upload --repository-url dist/*

You will be asked your username and password from your Pypi account, in which you must have access to the project in order to upload.

After this, the version on Pypi is already updated.

Now you should delete the dist folder.


This project is licensed under the MIT License - see the licence file for details.