patcruz Posted December 12, 2013 Share Posted December 12, 2013 Hello,I saw some animation done with greensock js flavor...http://codepen.io/nrose/details/KrnGqIs this possible with as3 version?How can I create a animation to simulate a flag?Thank you... Link to comment Share on other sites More sharing options...
Carl Posted December 12, 2013 Share Posted December 12, 2013 That's quite a complex technique which involves slicing the image into many slices and doing a good deal of Math to transform each slice. Converting it to actionscript is not really the type of thing we can whip up in a few minutes. The closest i can get you is this: http://www.snorkl.tv/2011/12/snorkl-tv-latest-and-greatest-activetuts-bitmaptilegrid-puzzlebuilderpro-some-groovy-resources/ Click on the "play image 1" button. Those files contain all the code for slicing the images into tiles, perhaps you can use it as a starting point to build a flag waving effect. Link to comment Share on other sites More sharing options...
patcruz Posted December 13, 2013 Author Share Posted December 13, 2013 Hello carl schooff,Thank you for your reply.I don't need a perfect flag movement, just some movement that feels like a flag.A simple tween is too flat, for that feel. It is to be used on a mobile application, so a complex math calculations maybe not so good...I will try to figured something out, in the meantime, if anyone have or found a solution I will be glad to take it. =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now