A Python3 game development toolkit for resource and logic management
Project description
desper
A Python3 game development toolkit for resource and logic management. Meant to be used coupled with open source projects.
Inspired by the wonderful ECS library: esper. A special thanks to its author, Benjamin.
Abstract
Desper provides a component based logic system, designed with game development in mind. The objective is to fill the lack of game logic management systems in the open source Python landscape.
In particular, while there are many valuable media libraries out there (pyglet, SDL2, etc.) they mostly provide APIs for window and graphic management. Consequently, often times game logic has to be implemented and reinvented from scratch. Desper provides a minimal expandable API that aims at obtaining interoperation with these powerful media libraries. These expansions will be implemented over time and provided through separate packages.
The project started as an expansion of esper, hence many aspects of the API will result similar.
Installation
Simple installation from PyPi (recommended):
pip install desper
Or installation from master branch:
git clone https://github.com/Ball-Man/desper
cd desper
pip install .
Expansions
Expansion libraries the can offer interoperation with existing media libraries will be implemented over time and provided through separate packages. Current ones:
- pyglet-desper (work in progress), for pyglet interoperation
Project status
(updated 2022-12-29) A first draft of the docs (API reference only) can be found at desper.readthedocs.io. Examples and a user guide are in the making.
desper in action
- current project, closed source: Lone Planet
- android game experiment, open source (uses an old alpha version of desper): monospace
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file desper-1.1.1.post0.tar.gz
.
File metadata
- Download URL: desper-1.1.1.post0.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7e751c5c46af0551975ee3003deaaee91cc36e33a26f4a1ef3e1334a308831 |
|
MD5 | d187d94e74d1d1d6e015edcf9270a26c |
|
BLAKE2b-256 | 95c558a45f686353ba8ee9bb06ffa0c1f7660acb649f179f1e21b7495ca8458e |
File details
Details for the file desper-1.1.1.post0-py3-none-any.whl
.
File metadata
- Download URL: desper-1.1.1.post0-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa7b29e30decaddf99d49140519be96f0d45d65cb9368417bb5e2a6816fb7d3 |
|
MD5 | 9defd4a8e7643fae2f72179c1e7fdc36 |
|
BLAKE2b-256 | 0dc4a7422a44392544393df6fbb7f1edc3e02a548bf40a8d0f40a728eb3b9c01 |