avarsh / ape2d

A data driven, entity-component-system based 2D game engine.
MIT License
0 stars 0 forks source link

Scene Graph enhancements #15

Open avarsh opened 5 years ago

avarsh commented 5 years ago

Currently the scene graph system allows for visual ordering of entities through a depth-first search (of what is actually a scene-tree, not a graph). Additionally, there is a requirement to allow the following unimplemented features:

We may want to have transform nodes, which add their transformation to the current transformation matrix. Pre-render functions may apply a transformation to a node before the node and it's children are processed, and post-render functions apply a transformation after all children are processed.