-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by longnt80
-
-
In the example above, why the _gsTransform.rotation value has a different value than the random rotation value that I gave the wheel?
Because I saw in this demo from Greensock, the values passed in and the _gsTransform's values are the same:
See the Pen ihsjA?editors=0011 by GreenSock (@GreenSock) on CodePen
. -
2 hours ago, OSUblake said:
Expanding on what @Sahil said, something like this.
See the Pen RLdmRz?editors=0010 by osublake (@osublake) on CodePen
Thank you! I'm playing with it now
-
I want to make a fortune wheeler game where user can click the button to spin the wheel then when it stops, it will show what user get.
I create the function to spin the wheel but not I'm sure which approach to detect which item is chosen. Can someone give me an idea how to approach this?
Thanks a bunch!
Detect chosen item in fortune wheel
in GSAP
Posted
Thank you @OSUblake
There is still a different between those values. But I just figured out that it was because of the timeScale tween I applied on the timeline. This is interesting.