View Single Post
11-05-14, 10:13 AM   #3
Namir
A Murloc Raider
Join Date: Nov 2014
Posts: 5
Originally Posted by Phanx View Post
3. Your frames are positioned between pixels.
I did create some debug outputs with the points of the frames and it appears that this is the case. Right now I am dynamically computing the point where I want the frame to be (based on how many of them should be visible) and I am not operating on floating point numbers, yet the game tells me that my frame is at xOffset -123.99999237061 although I event tried to manually set it to xOffset = -124. What might cause this precision issues?

EDIT: I turned off UIScale and I have tried Fullscreen / Windowed (Fullscreen) modes - same result.

EDIT2: Setting the xOffset to -124.5 of this specific frame fixes the issue surprisingly for this specific frame I was messing around with.

Last edited by Namir : 11-05-14 at 10:17 AM.
  Reply With Quote