nl en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en de en en fr en en ca en en en en en en nl nl en en de en en en en en en en fr en en en en en en en en nl nb en en nl en en en en en en en nl nb en en nl en en en en en en nl en en en en en en nl en en nl en en en en en en en it en de en de en en en en en es en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
Hi Guys, thanks for all your answers. My thoughts go more to very short solutions which are easy to apply to different circumstances. Maybe I will write a plugin based on the "shaking code" provided which accepts a bunch of parameters (amplitude of x,y,z,rotation, scaleX, scaleY,... and duration of a shake). I use canvas and want to shake bitmaps after a "hit" in a game. stot
stot posted a topic in GSAP
I wonder if there is a way to shake an object in place around its current position. I tried RoughEase and tweening from x,y to x,y with the same value. But the shaking will only be visible when they differ. Is there a simpler way than use an onUpdate callback? Thanks
stot replied to stot's topic in GSAP
thanks for all the answers. toAnimate is an easeljs bitmap. It seems that omitting the callback is not an option since 0 and 1 will not work. thanks anyways
Set boolean value in tween / timeline
stot posted a topic in GSAP
Hi Guys, I try to set a boolean value in the TimelineMax.set() method, like this: tl.set(toAnimate, { y: 50, visible:"true", // also tried visible:true alpha: 1 }) But this gives me a NaN value of the visible property of my toAnimate object. But neither visible:"true" nor visible:true are working. The solution using a callback seems for me a bit over sized (see here http://greensock.com/forums/topic/2456-tweening-boolean-value/) Is this the only solution?
“Aside from GreenSock’s laser-focused attention to detail, GSAP is fast, reliable, flexible, exceptional value (read: free in most cases) and, very importantly, supported.”
“@greensock is just pure awesomeness. What more can be said?”
“The GreenSock animation platform is one of the most useful sets of tools in existence when it comes to web animation.”
“The best thing about GSAP is that it just works, and it works well. On every single browser I’ve tested.”
“There is no doubt that GreenSock is currently the best available tool for creating astonishing interactive websites and animation effects.”
“After searching around the web for alternatives, I found GreenSock to be the most performant.”
“GreenSock has encouraged me to play with the code, to dream up new and exciting things to do.”
“If every library were as robust and reliable as GreenSock’s, the world would be a much better place for software engineers and their clients. I can't think of a better designed or better performing tool, and as a bonus, it's fun as heck to play with.”
“GSAP makes my job fun, because it allows me to focus on creating rich, engaging web experiences, while GSAP handles much of the implementation details behind the scenes.”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.