q
Junior Member
Offline
Posts: 58
Re: animation flow
Reply #2 - Dec 9th , 2008, 8:06pm
no wait, i'm already at this point, the thing i don't understand is how manage the frames. for a "static" animation(mmm sounds pretty bad, i mean a stored animation) i just run all frames in sequence, but if i want to create something that changes everytime i run it the situation is completely different. A good example could be a man who walk and when it receive a general parameter it changes its behavior(jumping? falling down? is the same). My parameters could be everything, time(after 5 second?) sound(everytime i catch the kick drum?) or other controls(buttons, slider etc). This example it's really simple and i could implement that we the basic knowledge i already got. Maybe try to think about an animation based on a soundtrack, i want to create something different when song play(start with a man walking alone to finish with a battle? yep, this one is pretty silly). if you want, take a look to these videos, is that i'm actually up to, the first one is the sequencer, there i create my sequence synchronized with the soundtrack, basically are sequences of effects based on sound and some controls. The other software is the effect framework, pretty similar to the sequencer but without a lot of useless thing, this software is just to create and run effects, here i create my effects and animation to put in the sequence later. Basically everytime draw() is called i call another function getNextFrame(), all effects extend this class to define their own getNextFrame method. http://www.vimeo.com/2342377 http://www.vimeo.com/2418993 ps: let me know if someone is interested to collaborate(better if in London but is not compulsory) or just take a look to the code. all code is on github. Q