DarthMike / indielib-crossplatform

IndieLib is a cross-platform Game Graphics engine. Main focus is OpenGL ES 2.0 for mobile iOS operating system, and OpenGL desktop. **NOT SUPPORTED ANYMORE**
zlib License
61 stars 27 forks source link

Implement Animation Image sheets #16

Open M-F-K opened 12 years ago

M-F-K commented 12 years ago

expand the xml definition to include image sheets.

read more about in this thread :

http://www.indielib.com/forum/viewtopic.php?f=1&t=352&start=105

M-F-K commented 11 years ago

Not sure if the 2 comments above, really belongs here.

DarthMike commented 11 years ago

Yes its my bad. Better ot touch it now as commits are in remote already.

M-F-K commented 10 years ago

two possible implementations: 1) load a image sheet, and on parse time split into several small images internally. ( easy, but not the best solution)

2) load an image sheet, and on each render time cycle change the uv coordinate of the sheet image. (best solution, but we may need to change how we use identities? )