Hi, I used to post here as Paul Pittlerson, but as usual I change my name now and then. Haven't posted much lately as I learned how to figure out some things on my own, and I'm sure Claudio will be thankful for that fact :D
Anyway I have been working on a project and will soon come to the point where I need to find a good way to add unit animations in a generic and scalable manner. Every unit will need a minimum of idle, walking (up, down, left, right), fighting (in the directions) and death. So it's a handful in a single unit. Now, I may be capable to figure out some way to execute this, but I was hoping to make use of some pre existing wisdom and ask for advice. Basically: What is a good way to keep track of several animations in a layer, and be able to switch between them in a effective and straight forward manner? Thanks. Link to my repo if anyone is interested (warning for spaghetti code :P!): https://github.com/MikkoFinell/bullet -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/groups/opt_out.
