Jump to content
Search Community

low degree rotation in long duration

q_mi test
Moderator Tag

Recommended Posts

if you are using a bitmap make sure you have enabled smoothing

 

1) if the bitmap is a library asset, right click > properties > allow smoothing (checked);

 

2) if the bitmap is being loaded externally, use an ImageLoader as it will smooth by default: http://www.greensock.com/as/docs/tween/ ... oader.html

 

2a) if you are not using an ImageLoader, google "smooth loaded image as3"

 

 

If you are using a vector, I imagine that there just aren't enough pixels available to accurately display such incredibly minute changes in rotation. if your mc starts at a rotation of 0 and your end position is rotation:1 and your frame rate is 30 frames per second. each frame has to render in roughly 1/60th of a degree increments which is quite a feat.

Link to comment
Share on other sites

Try using the transformMatrix plugin to do the rotation because it can be much smoother. See it in action at http://www.greensock.com/tweening-tips/#1

 

The non-smooth rotation (without transformMatrix) is a Flash thing and has nothing to do with TweenLite/Max. Oh, and don't forget to activate the TransformMatrixPlugin. TweenPlugin.activate([TransformMatrixPlugin])

Link to comment
Share on other sites

Try using the transformMatrix plugin to do the rotation because it can be much smoother. See it in action at http://www.greensock.com/tweening-tips/#1

 

The non-smooth rotation (without transformMatrix) is a Flash thing and has nothing to do with TweenLite/Max. Oh, and don't forget to activate the TransformMatrixPlugin. TweenPlugin.activate([TransformMatrixPlugin])

 

Amazing. Thank you greensock. transformMatrix really help

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.
×
×
  • Create New...