Hi guys, sorry if this is already been asked.
Atilim made a great job bringing gtween to gideros. The original Gtween came with additional timeline or sequencing support which is in most cases needed when we want to create complex ordered animation. Will gideros have this timeline support anytime soon? already is it already available. I'm vey new to gideros and LUA.
If not, is there a way to simulate timeline animation? To be more specific, what I want to create is star rating animation at the end of game level just like angrybirds do. Except I have 10 stars to animate, then particle burst effect for each star. So total of 20 animation to sequence.
I know how to use gtween (using delay to mimic sequencing) and particles using TNT-particles, all I need just a simple way to sequence them.
kind regards,
Comments
second approach would be to chain GTweens
http://www.giderosmobile.com/forum/discussion/comment/1360#Comment_1360
The gtween chaining looks interesting. I will definetely try it.
I like to know, is it possible to put script inside movieclip juat like flash fro keyframe script? So for example, the script will be triggered when frame 20 is playyed (something like that). A URL to that discussion will be fine.
Again, so sorry its a very newbie question.
thank you
Theoretically with MovieClips you could set stopActions on any frame you want, then when movieclip reaches frame with stop action, it dispatched Event.COMPLETE, and you could put any code inside this event handler.
Unfortunately, determining which frame actually called the stop action might not be that easy. So it will not work for all cases.
I will stick with gtweens chaining for now. See how far I can push it to good use.
Still hoping Gtween timeline implemented in the near future though
Although my app is a non commercial one, I'll appreciate all the trouble you guys went through to make gtweens timeline available as I would purchase if its in a form of paid plugin. Because I will need it for upcoming scenes with lots of animations. again thanks
kind regards,
Or sometimes I use delayed timers, especially if the function has lots of stuff in it:
By the way, all code is just typed without trying it so syntax/spellings could be off!
But timeline is more flexible as you can play around with timing and also forward and backward playback. Here are the example url:
http://www.gskinner.com/libraries/gtween/
http://www.greensock.com/timelinemax/
http://www.snorkl.tv/2010/12/3-part-video-series-on-bubbles-with-timelinemax/
there are other examples but I believe these will do
http://www.snorkl.tv/2010/11/timelinemax-powered-mega-mask/
This will allow gideros devs to create more engaging animations
thank you so much for your support!
I believe gideros will be better and better platform this way (listening to desperate users like me ha ha ha).
There's a learning curve with any new language or implementation of it that can be frustrating . Personally, whilst tween timelines might be handy and certainly if they are easily available would be a good addition (although people do create engaging animations without them!), I would much rather be able to trigger events from known frames of movie clips as sometimes movie clips are more flexible than tweens (especially as you can start them at different places if you want to). For now, I use a mix of tweens, movie clips and timers and find that I can do most of what I want.