OrangeJuice7 / SDL-OpenGL-Game-Framework

A generic and portable game project framework using C++, SDL and OpenGL.
MIT License
3 stars 2 forks source link

Add support for animated sprites #15

Closed OrangeJuice7 closed 4 years ago

OrangeJuice7 commented 4 years ago

Sprites should use a texture atlas. 8 frames should be good.

The texture atlas can also be used to include sprites that face different directions. 16 directions should be good.

OrangeJuice7 commented 4 years ago

Implemented in https://github.com/OrangeJuice7/SDL-OpenGL-Game-Framework/commit/531fbc7621aefb5076195150c7139492d0617ef1