Share Posted October 6, 2015 Hi guys, I am doing a starling slot game and i am having a problem with my sprites not tweening smoothly. The FPS are a constant 60 for me but the symbols seem to judder a bit... I think they are rounding to whole pixels so i added in: TweenMax.to(reelMC, .5, {y:0, roundProps:["y"], ease:Linear.easeNone, onComplete:loopReel}); I also added TweenPlugin.activate([RoundPropsPlugin]); which causes 1120: Access of undefined property TweenPlugin. Without the activation it compiles but is still jerky so not sure the plugin is working right... :/ Help please Link to comment Share on other sites More sharing options...
Share Posted October 6, 2015 it sound like you need to import TweenPlugin first import com.greensock.plugins.TweenPlugin; 1 Link to comment Share on other sites More sharing options...
Author Share Posted October 6, 2015 lol.. how did i miss that... :/ you might need to update your docs though as i got the example from there. https://www.greensock.com/asdocs/com/greensock/plugins/RoundPropsPlugin.html Once again though greensock delivers 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