Skip to main content

Pure Python, simple to use Entity Component System for pygame

Project description

pyg-ecs

An simple ECS library built for pygame Not finished rn, in development

Architecture

Entities are just stored as int's for their id's components are stored in as lists in a dictionary, keys are entity id's and values are component lists.

Notes

You shouldn't use this for a game with a lot of entities and components, but it's fine for small games and testing.

todo:

Update the download_url found in setup.py https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56

Credits

I'd like to give credit to https://www.youtube.com/watch?v=71RSWVyOMEY and https://github.com/seanfisk/ecs they both have great code and helped me understand it better

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygame_ecs-0.1.0.tar.gz (33.7 kB view hashes)

Uploaded Source

Built Distribution

pygame_ecs-0.1.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page