An entity system module for Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

pytity, an entity system module for Python

Entity systems, what's that?

From Entity Systems Wiki:

Component/Entity Systems are an architectural pattern used mostly in game development. A CES follows the Composition over Inheritance principle to allow for greater flexibility when defining entities (anything that's part of a game's scene: enemies, doors, bullets) by building out of individual parts that can be mixed-and-matched.

It is aimed to provide an intuitive way of making video games.

Important note: pytity has been designed with Python 3.4 in mind. It may work on other versions of Python but don't rely on it!

Second important note: it is an amateur project! Don't expect high performances or good architecture design from pytity. If it matches your expectations, good for you, but this project will only evolve accordingly to my personal needs.

How to install it?

pytity is a simple Python module to install like any other modules.

$ python3 install

pytity is not available on yet.

How to use it?

The simpler answer is: look at the demo! Note the demo needs Pygame is installing on your system.

If you don't know about entity systems, a suggestion would be to learn about it. A good start point is the Entity Systems Wiki. If you're French, Les systèmes à entités by Julien Bernard on LinuxFR is a really nice starting. You definitively need to read its articles about game making!


pytity is using MIT license and is, obviously, a free software.


Marien Fressinaud