Michael Hartlef
05-02-2009, 18:23
Hi folks,
right now I'm helping Petr to implement new features into TBGL. Besides some 2D primitives I'm working on sprites at the moment. And there I'm on the animation section right now.
So I wonder how I should implement it. I mean, command wise, how to deal with it? I guess most of the time you will have a bigger texture (sprite sheet) with a lot of sprites on it. Frame after frame. But sometimes I saw sheets that included several different sprites with their animation.
Right now I have the code build for loading a spritesheet and TBGL thinks that it is a sheet for only one sprite, with its animation on it. Would that be enough or how would you like to see it?
Michael
right now I'm helping Petr to implement new features into TBGL. Besides some 2D primitives I'm working on sprites at the moment. And there I'm on the animation section right now.
So I wonder how I should implement it. I mean, command wise, how to deal with it? I guess most of the time you will have a bigger texture (sprite sheet) with a lot of sprites on it. Frame after frame. But sometimes I saw sheets that included several different sprites with their animation.
Right now I have the code build for loading a spritesheet and TBGL thinks that it is a sheet for only one sprite, with its animation on it. Would that be enough or how would you like to see it?
Michael