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 - gamedivisionuk

Pages: [1] 2 3
1
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 09, 2016, 01:58:00 PM »
that seems to be doing the trick so far thanks for the help

2
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 08, 2016, 01:50:44 PM »
does anyone have a permanent fix for this issue basically the fix @ArenMook gave works until you press play then it goes straight back to how it was

thanks

3
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 07, 2016, 02:21:24 PM »
that victory was short lived as soon as i press play to test, it goes straight back to a huge canvas when i press stop it stays large any more ideas please its completely unusable at the moment because i can't build my UI

thank you for the help received

4
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 07, 2016, 02:06:26 PM »
working perfectly thank you


When you target UIRoot, it just falls through to targeting the camera used to draw the UI. In your case the game view is hidden, and I'm venturing a guess that you're on a mac -- and there is a Unity bug preventing the screen size from being determinable on a retina mac. This is why the purple border is off.

Make sure you're on the latest NGUI. Open NGUITools.cs, go to line 1907 and add [System.NonSerialized] in front of it:
  1. [System.NonSerialized] static Vector2 mGameSize = Vector2.one;

5
NGUI 3 Support / Why isn't the UI Root the same size as the camera
« on: December 06, 2016, 04:03:41 PM »
ive created new scene with a new 2D UI then adding a sprite to the screen added an anchor
my first question is why is the root UI different size to the actuall screen size
seconds question why does the anchor attach itsself to the root UI rather than the actual screen size

the reason i ask this is because the uiRoot never changes its dimensions whereas the screen size changes depending on the screen size of your phone,ipad or whatever device you have
so with this scenario the sprite never actually moves, therefore i could never make an app that will work on all devices
Unity UI works straight out the bag with no problems


6
NGUI 3 Support / Re: Resolution independent problem
« on: November 15, 2016, 03:37:00 PM »
i reduced my screen size when outputting the video but the game view was always open to the right of the video

Oh, I see your issue. You're on a Mac using Unity 5.4. OSX version of the Unity editor has a bug in it where the screen size can't be determined unless the game view is actually visible. You need to simply have your game view actually visible, and it will work as expected.

7
NGUI 3 Support / Re: Resolution independent problem
« on: November 14, 2016, 03:38:34 PM »
yes im fully aware of the tools here is another video showing you the issue,when setting the anchor it resizes my images
https://youtu.be/fVt7QxJ7zo4



You're adding what anchor? Widgets have built-in anchoring, and it doesn't touch the transform scale. Nothing does. The anchoring changes the Size property of the widget and adjust the transform's position. Select the UIRoot, ALT+SHIFT+P -- this forcefully resets all scales to their default correct values of (1, 1, 1).

When working with NGUI, the same as Unity's UI, you need to be using the Rect transform too (T shortcut). If you're using W (move) and R (scale), then you're using the wrong tools.

8
NGUI 3 Support / Re: Resolution independent problem
« on: November 12, 2016, 06:13:35 PM »
great plugin horrendous support one month later no further on  >:(

9
NGUI 3 Support / Re: Resolution independent problem
« on: November 09, 2016, 04:02:02 PM »
still does the same thing,i reset all the scales to 1,1,1 added an anchor and it resized the sprite all by itself so your theory didnt work any more ideas

To re-iterate on what I said. Transform scale must remain (1, 1, 1). Look at your scale in your own video: 6.21?

10
NGUI 3 Support / Re: Resolution independent problem
« on: November 07, 2016, 11:42:46 AM »
i guess ill switch to unity gui because i cant use ngui with the situation at the moment

11
NGUI 3 Support / Re: Resolution independent problem
« on: November 05, 2016, 05:08:05 PM »
ok so here is the issue when adding an anchor to a sprite it just resizes its self when trying to resize back to original size it just gets bigger wont let me downsize at all check video
https://youtu.be/VcEcF5zjNfo

12
NGUI 3 Support / Re: Resolution independent problem
« on: November 04, 2016, 05:23:06 PM »
i just dont see how this works at all ive tried every variation, images dont resize at all using anchors is glitchy i mean i cant resize anything after adding anchors because the image either shrinks tiny or covers the whole screen and you can't change it back unless you remove the anchor

13
NGUI 3 Support / Re: scroll view not working properly after update
« on: November 01, 2016, 05:17:06 PM »
resolved is was the shader causing the problem

14
NGUI 3 Support / scroll view not working properly after update
« on: November 01, 2016, 05:04:47 PM »
scroll view is not clipping within the boundaries and the softness isn't working either it just abruptly gets clipped any ideas   thanks

15
NGUI 3 Support / Re: Resolution independent problem
« on: October 11, 2016, 09:24:41 AM »
i still haven't found any solution any ideas

 ;D

Pages: [1] 2 3