Author Topic: Feature Request : Pixel Perfect TweenPosition  (Read 1782 times)

ENAY

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 248
    • View Profile
Feature Request : Pixel Perfect TweenPosition
« on: August 30, 2012, 07:23:10 AM »
When you have pixel perfect buttons (or items in general) and attach a UIButtonOffset, all the gfx go a bit blurry.

I've tinkered with the tween code and basically put an Int modifer on the vector before setting it.

eg

Vector = new Vector3( (int)Vector.transform.Local.Position.x, (int)Vector.transform.Local.Position.y, (int)Vector.transform.Local.Position.z);

Perhaps there should be a option, so float values or int values are used in the tween.

PixelPerfect Move []


For certain, the smoothness is ever so slightly jerky, but now the gfx don't go blurry. Same goes for UIButtonScale.