Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
boy2k

Jaggy animation at 60 fps (starling)

Recommended Posts

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 :D

Link to comment
Share on other sites

it sound like you need to import TweenPlugin first

 

import com.greensock.plugins.TweenPlugin;

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×