boonier
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by boonier
-
-
Awesome. Thanks for your ideas, will have another look!
-
Hi
Thanks for getting back. Yep that's what I thought: the draw loop is repeatedly creating new tweens. I'm going to refactor what I've done, but I need to detect the collision with the mouse another way to reduce the data.
Are the fundamentals of how I've implemented TweenLite looking ok to you though?
Cheers
-
Hi
I'm new to Greensock! I've tried implement a TweenLite colour tween into my existing canvas based sketch, and the tween works for the rollover and out, but the out tween doesn't return to the colour specified.
I've a feeling that I'm trying to shoehorn GS into a pattern that is not compatible with GS. Is it still relevant to use update() and draw() with window.requestAnimationFrame?
Codepen below:
See the Pen zPPBje?editors=0010 by boonier (@boonier) on CodePen
Many thanks
Si
Colour tween not completing
in GSAP
Posted
Hey thanks for that, yep I've now reinitialised the blocks array on resize. Got the tweens working too, as @Sahil noted the events need to be singled out in the update function. Cheers guys
Here's a link
See the Pen NwwXRz by boonier (@boonier) on CodePen