ymherklotz / YAGE

2D game engine with integrated Entity Component System
https://ymherklotz.github.io/YAGE
MIT License
8 stars 1 forks source link

Adding mesh support #5

Open ymherklotz opened 7 years ago

ymherklotz commented 7 years ago

Mesh

A mesh is produced by dividing a sprite up into triangles, that can then be drawn more easily by the game engine, as it will not have to draw transparent pixels. This can also be combined with #4 for very efficient draw calls.