data-oriented-pyglet
data-oriented-pyglet copied to clipboard
Tests towards doing basic pyglet rendering tasks faster through data orientation and numpy
Make compatible with python 2 and 3 using `__future__` and six if necessary.
Make the code compatible with python 3 and 2 - all scripts and modules have been converted apart of add-delete.py, animated_test.py and color_change_test.py since they were not mentionned in the...
Right now, laying out the components such that they are all contiguous given the entity classes that one will use must be done manually. It's easy for a human, but...
Numpy arrays can be shared in memory between processes (ie, mutiprocessing). Make a Component subclass that uses a mmap buffer, and ca communicate its name, size and locked status between...
Constant gravity, Gmm/r^2 gravity, a player that can be controlled, some more game like and interactive examples.
Use a spatial hash (even a simple grid) to do circle to circle, or bounding box to bounding box, or point to either of those and determine simply who got...
for an OOP interface when you want it (ie, the hero of the game should have components and be subect to systems, but also it should be convinient to check...
Step 1) make a function that returns a function that takes care of the boiler plate. Ie (from examples/polygons.py): ``` render_verts =('render_verts','poly_verts','position','rotator') broadcast = ('position__to__poly_verts',) sections = get_sections(render_verts + broadcast)...
Use some testing framework to make sure that the Allocator and any other core functionality is working correctly. create a few arbitrary components, and add values. make sure the values...