Hello Guest

Author Topic: I think i have to enable pixel perfect  (Read 3046 times)

gonzalez.martin90

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
I think i have to enable pixel perfect
« on: April 23, 2014, 09:49:31 pm »
Hi there, i'm not new in tk2d but i cant remember if there is a way to fix the problem that if i move between number (floats) like 1.54 i can see how the sprite or font is like fighting to be in a pixel or other.
 Is that pixel perfect? or if not, is there any chance to fix it?

Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: I think i have to enable pixel perfect
« Reply #1 on: April 24, 2014, 10:24:55 am »
That will be down to filtering, etc. tk2d can't snap it to the correct value as unity doesn't expose the necessary callbacks - you will have to make sure its snapped to a pixel before feeding in the position.