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
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
Hashes for pygame_ecs-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c706ff2502c76ec6bad7247de9fbf98fc5a0288169c7f3e8ad0ff020a6985592 |
|
MD5 | fb14d08e9a5da82dc6a43114c38f20b7 |
|
BLAKE2b-256 | 7fb1a8002bc789a2eb7ee36d7be9225126d24bb2d057b9cd19fdbd3aa16f8e56 |