Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EvanT

Pages: [1]
1
This workaround is ineffective if you have a sprite's or label's edge anchored to the centre of a resizeable widget. (UIDragResize)

And this looks rather hacky
  1. if(!Screen.fullScreen) if(Screen.width%2!=0 || Screen.height%2!=0) {
  2.         Screen.SetResolution(
  3.                 Screen.width%2!=0?Screen.width-1:Screen.width,
  4.                 Screen.height%2!=0?Screen.height-1:Screen.height,
  5.                 Screen.fullScreen);
  6. }

2
NGUI 3 Support / Re: 3.4.8 Blurred UI if Anchor is set to target's center
« on: February 08, 2014, 03:47:17 PM »
Hi, I watched the transform values in the inspector while rescaling the window. If you set the anchor to something different than "target's centre" the coordinates sometimes are floating point numbers as is expected. But if you set it to "target's centre" the values keep being some whole number, which causes the blurriness.

While "keep the resolution even" works perfectly fine for full screen in windowed-mode that approach is rather futile. Or is there some setting to force even resolutions?

3
NGUI 3 Support / Re: 3.4.8 Blurred UI if Anchor is set to target's center
« on: February 08, 2014, 05:50:02 AM »
Hello Again,

I have reproduced this behaviour in the Drag-Example as soon as one of the Anchor-Target-Axis is set to "Target's Centre" the widget and its children become blurry on that axis.

So is there a workaround or is this somehow my fault (I would prefer the later because that one I could fix by myself)?

4
Since UIAnchor is depreciated and does not update on start but only on resize I decided to use the new (to me) UIWidget-Anchor system.

Well while the panel is in Pixel perfect scale mode I get blurry results as can be seen in the attached pic (the picture is the mixed result of two screen shoots at different resolutions) depending on screen resolution.

I even tried a whole new scene with the same result.

edit: After some more testing I found that it is related to the "Target's center" setting left and right work well but if set to centre it will blur depending on vertical and/or horizontal screen size. E.g. If you set it to Top-Center it will blur depending on screen.width, Center-Left -> screen.height and center-center -> both.

5
NGUI 3 Support / Re: UIDraggablePanel missing in Assetstore packages v3.4.8
« on: February 06, 2014, 01:41:16 PM »
Thanks! Is there a list of the replacements?

edit: found the video .. an outdated one but it pointed me in the right direction.

I feel like I tested an car from the 50ies and now that I bought it it turns into a modern one.. I have one hell of a migration on my hands right now.

6
Hello I just upgraded from the free version to the current AssetStore version 3.4.8

So in the package is no UIDraggablePanel.cs as far as I can see. It is not even listed in the classreference any more. So has this class been removed? If so, I can not find a replacement and since there was a topic for the class a few days ago I'm realy confused..

Pages: [1]