tinyecs 0.3.3__tar.gz → 0.3.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tinyecs-0.3.3/src/tinyecs.egg-info → tinyecs-0.3.5}/PKG-INFO +37 -24
- tinyecs-0.3.3/docs/source/introduction.rst → tinyecs-0.3.5/README.rst +11 -2
- {tinyecs-0.3.3 → tinyecs-0.3.5}/pyproject.toml +3 -2
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/__init__.py +166 -453
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/tutorial.py +43 -39
- {tinyecs-0.3.3 → tinyecs-0.3.5/src/tinyecs.egg-info}/PKG-INFO +37 -24
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs.egg-info/SOURCES.txt +1 -8
- {tinyecs-0.3.3 → tinyecs-0.3.5}/tests/test_tinyecs.py +9 -0
- tinyecs-0.3.3/README.md +0 -60
- tinyecs-0.3.3/docs/Makefile +0 -20
- tinyecs-0.3.3/docs/make.bat +0 -35
- tinyecs-0.3.3/docs/source/api.rst +0 -71
- tinyecs-0.3.3/docs/source/conf.py +0 -51
- tinyecs-0.3.3/docs/source/index.rst +0 -14
- tinyecs-0.3.3/docs/source/tutorial.rst +0 -561
- {tinyecs-0.3.3 → tinyecs-0.3.5}/LICENSE +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/setup.cfg +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/components.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/compsys.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demo.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/__init__.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/background.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/bouncing_sprites.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/example.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/homing-missiles.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs/demos/marquee.py +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs.egg-info/dependency_links.txt +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs.egg-info/entry_points.txt +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs.egg-info/requires.txt +0 -0
- {tinyecs-0.3.3 → tinyecs-0.3.5}/src/tinyecs.egg-info/top_level.txt +0 -0
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tinyecs
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: The teeniest, tiniest ECS system
|
|
5
5
|
Author-email: Michael Lamertz <michael.lamertz@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: homepage, https://github.com/dickerdackel/tinyecs
|
|
8
8
|
Project-URL: bugtracker, https://github.com/DickerDackel/tinyecs/issues
|
|
9
|
+
Project-URL: docs, https://tinyecs.readthedocs.io/
|
|
9
10
|
Classifier: Development Status :: 3 - Alpha
|
|
10
11
|
Classifier: Intended Audience :: Developers
|
|
11
12
|
Classifier: Topic :: Games/Entertainment
|
|
12
13
|
Classifier: Topic :: Software Development :: Libraries :: pygame
|
|
13
|
-
Description-Content-Type: text/
|
|
14
|
+
Description-Content-Type: text/x-rst
|
|
14
15
|
License-File: LICENSE
|
|
15
16
|
Requires-Dist: pgcooldown
|
|
16
17
|
Dynamic: license-file
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
Introduction
|
|
20
|
+
############
|
|
19
21
|
|
|
20
22
|
ECS stands for Entity Component System, and it is a programming paradigm that
|
|
21
23
|
differs from the well known OO.
|
|
22
24
|
|
|
23
|
-
During my research I stumbled over
|
|
25
|
+
During my research I stumbled over `this article`_ and after reading part 2 and
|
|
26
|
+
3, I decided to implement an ECS myself, well aware that `esper` is a solid
|
|
27
|
+
and long existing implementation, but I wanted to see how to implement it
|
|
28
|
+
myself.
|
|
24
29
|
|
|
25
|
-
|
|
30
|
+
.. _this article: https://web.archive.org/web/20250408195932/https://t-machine.org/index.php/2007/09/03/entity-systems-are-the-future-of-mmog-development-part-1/
|
|
26
31
|
|
|
27
|
-
and after reading part 2 and 3, I decided to implement an ECS myself, well
|
|
28
|
-
aware that `esper` is a solid and long existing implementation, but I wanted
|
|
29
|
-
to see how to implement it myself.
|
|
30
32
|
|
|
31
33
|
I'm not trying to sell you an ECS by explaining the problems of multiple
|
|
32
34
|
inheritance in game programming. There are articles out there that do this in
|
|
@@ -36,30 +38,40 @@ bouncing sprites using pygame-ce. But tinyecs is platform agnostic, you can
|
|
|
36
38
|
use it with whatever library you like.
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
Installation
|
|
42
|
+
============
|
|
40
43
|
|
|
41
44
|
tinyecs is available on pip and can be installed by::
|
|
42
45
|
|
|
43
46
|
pip install tinyecs
|
|
44
47
|
|
|
45
|
-
The project is maintained and hosted on github
|
|
46
|
-
|
|
47
|
-
for a local install, or install it directly from the cloned repo.
|
|
48
|
+
The project is maintained and hosted on `github`_, where you also can find the
|
|
49
|
+
wheels for a local install, or install it directly from the cloned repo.
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
git clone https://github.com/dickerdackel/tinyecs
|
|
51
|
-
cd tinyecs
|
|
52
|
-
python3 -m venv --prompt tinyecs .venv
|
|
53
|
-
.venv/bin/activate
|
|
54
|
-
# or .venv/Scripts/activate.bat on windows
|
|
55
|
-
pip install .
|
|
56
|
-
```
|
|
51
|
+
.. _github: https://github.com/dickerdackel/tinyecs
|
|
57
52
|
|
|
58
|
-
|
|
53
|
+
.. code-block::
|
|
59
54
|
|
|
60
|
-
|
|
55
|
+
git clone https://github.com/dickerdackel/tinyecs
|
|
56
|
+
cd tinyecs
|
|
57
|
+
python3 -m venv --prompt tinyecs .venv
|
|
58
|
+
.venv/bin/activate
|
|
59
|
+
# or .venv/Scripts/activate.bat on windows
|
|
60
|
+
pip install .
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Documentation
|
|
63
|
+
=============
|
|
64
|
+
|
|
65
|
+
The project home and main documentation is on `Read the Docs`_.
|
|
66
|
+
|
|
67
|
+
.. _Read the Docs: https://tinyecs.readthedocs.io/
|
|
68
|
+
|
|
69
|
+
Support / Contributing
|
|
70
|
+
======================
|
|
71
|
+
|
|
72
|
+
Issues can be opened on `github issues`_
|
|
73
|
+
|
|
74
|
+
.. _github issues: https://github.com/dickerdackel/tinyecs/issues
|
|
63
75
|
|
|
64
76
|
Please respect, that I don't want any contributions done with the assistance
|
|
65
77
|
of AI. This is a hobby project with focus on the craft of programming. I
|
|
@@ -70,7 +82,8 @@ provided solutions were often besides the point or plain wrong.
|
|
|
70
82
|
I have no possibility to enforce that request, the simple fact that I ask for
|
|
71
83
|
it should be sufficient.
|
|
72
84
|
|
|
73
|
-
|
|
85
|
+
License
|
|
86
|
+
=======
|
|
74
87
|
|
|
75
88
|
This software is provided under the MIT license.
|
|
76
89
|
|
|
@@ -32,6 +32,8 @@ wheels for a local install, or install it directly from the cloned repo.
|
|
|
32
32
|
|
|
33
33
|
.. _github: https://github.com/dickerdackel/tinyecs
|
|
34
34
|
|
|
35
|
+
.. code-block::
|
|
36
|
+
|
|
35
37
|
git clone https://github.com/dickerdackel/tinyecs
|
|
36
38
|
cd tinyecs
|
|
37
39
|
python3 -m venv --prompt tinyecs .venv
|
|
@@ -39,12 +41,19 @@ wheels for a local install, or install it directly from the cloned repo.
|
|
|
39
41
|
# or .venv/Scripts/activate.bat on windows
|
|
40
42
|
pip install .
|
|
41
43
|
|
|
44
|
+
Documentation
|
|
45
|
+
=============
|
|
46
|
+
|
|
47
|
+
The project home and main documentation is on `Read the Docs`_.
|
|
48
|
+
|
|
49
|
+
.. _Read the Docs: https://tinyecs.readthedocs.io/
|
|
50
|
+
|
|
42
51
|
Support / Contributing
|
|
43
52
|
======================
|
|
44
53
|
|
|
45
|
-
Issues can be opened on `
|
|
54
|
+
Issues can be opened on `github issues`_
|
|
46
55
|
|
|
47
|
-
..
|
|
56
|
+
.. _github issues: https://github.com/dickerdackel/tinyecs/issues
|
|
48
57
|
|
|
49
58
|
Please respect, that I don't want any contributions done with the assistance
|
|
50
59
|
of AI. This is a hobby project with focus on the craft of programming. I
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tinyecs"
|
|
3
3
|
description = "The teeniest, tiniest ECS system"
|
|
4
|
-
version = "0.3.
|
|
5
|
-
readme = "README.
|
|
4
|
+
version = "0.3.5"
|
|
5
|
+
readme = "README.rst"
|
|
6
6
|
|
|
7
7
|
authors = [
|
|
8
8
|
{ name="Michael Lamertz", email="michael.lamertz@gmail.com" }
|
|
@@ -30,6 +30,7 @@ tinyecs-demo = 'tinyecs.demo:main'
|
|
|
30
30
|
[project.urls]
|
|
31
31
|
homepage = "https://github.com/dickerdackel/tinyecs"
|
|
32
32
|
bugtracker = "https://github.com/DickerDackel/tinyecs/issues"
|
|
33
|
+
docs = "https://tinyecs.readthedocs.io/"
|
|
33
34
|
|
|
34
35
|
[build-system]
|
|
35
36
|
requires = ["setuptools"]
|