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

Pages: [1]
1
NGUI 3 Support / Re: I2 Localization now supports NGUI!!!
« on: June 13, 2016, 03:23:18 PM »
It is actually 36% off not  50%.  Still a great tool!!! either way.

2
NGUI 3 Support / Re: About UIdrag object
« on: September 22, 2014, 09:42:41 PM »
I  just made a post about this as well, it works great but it springs off screen and back.  Not sure if NGUI can have it not leave the screen totally or not.   I would think it so, but all of the examples show this effect were it goes off the screen and springs back...

I hope there is a way to make  it were you can have  it never leave the screen ever... Hopefully Aren can commented on this soon since both of us are dealing with this .

3
NGUI 3 Support / Re: Question about a window that will be dragging
« on: September 22, 2014, 02:21:12 PM »
Aren is this suppose to leave the screen and then snap back???  I still can't get it to stay in the screen, it leaves the screen area, and when I release  on mouse down, it snaps back. I did this with the example.


4
NGUI 3 Support / Re: Question about a window that will be dragging
« on: September 21, 2014, 06:09:39 PM »
Nm , I got it Thanks.

5
NGUI 3 Support / Question about a window that will be dragging
« on: September 21, 2014, 12:25:13 AM »
I have a inventory window I made, and I'm also able to drag.  The issue is it can go out of the bounds of the screen view and it can get lost by the user.  Looking for someone to lead me in the right direction to solve this.  I'm not looking for someone to do this for me , just point me in the right place, this is for a Capstone for my school and I choose to use NGUI since I knew most other programs. I'm still learning NGUI. I do understand about 60% of it so far I  think .


Thanks in advance for any help.

6
NGUI 3 Support / Re: I want to know about future of NGUI
« on: August 23, 2014, 11:59:49 PM »
not trying to start a debate but  confused by this comment? More powerful?  How is UGUI more powerful???   I have used it, it is light years behide NGUI.  , is it better than NGUI not even close.   Its good for those that do not have anything. I would rather use 2D tool kits UI, than UGUI.     I use 2D tool kit for  many other things, but when Unity came out with 2D , everyone freaked out and said 2d tool kit would become useless.  Well, I have used both and I still prefer 2d tool kit for animations.     Not trying to bash UGUI, it will be great for those that have nothing.

Also, UGUI, and NGUI can be used together...   One reason NGUI can be weaker, that it can be scary for some since it has a bit of a learning curve. I still learn new things with it every day, but  I will not make the switch from NGUI to UGUI ...  I may use together but that's  it...  Heck I use NGUI and 2d a lot together, since I like some things better in either Asset.


If they stopped NGUI today, I would still use it.


7
NGUI 3 Support / Re: Scroll View with buttons
« on: August 17, 2014, 03:50:03 AM »
The slider it self works perfectly in the inspector.  The view port only moves once in awhile.  So not sure what I'm missing here.

8
NGUI 3 Support / Re: Scroll View with buttons
« on: August 17, 2014, 03:49:02 AM »
  1. UIScrollBar hScrollbar;
  2.         UIScrollBar vScrollbar;
  3.  
  4.  
  5.  
  6.         public float keyboardSensitivity = 1;
  7.  
  8.         void Awake()
  9. {
  10. //              //Assign both scrollbars on Awake
  11.                 hScrollbar =
  12.                         GetComponent <UIScrollBar> ();
  13.  
  14.                 vScrollbar = GetComponent<UIScrollBar> ();
  15.         }
  16.  
  17.         void Update()
  18.         {
  19.                 //Get keyboard input axes values
  20.                 Vector2 keyDelta = Vector2.zero;
  21.                 keyDelta.Set(Input.GetAxis("Horizontal"),
  22.                              Input.GetAxis("Vertical"));
  23.                 //If no keyboard arrow is pressed, leave
  24.                 if(keyDelta == Vector2.zero) return;
  25.                 //Make it framerate independent and multiply by sensitivity
  26.                 keyDelta *= Time.deltaTime * keyboardSensitivity;
  27.                 //Scroll by adjusting scrollbars' values
  28.                 hScrollbar.value += keyDelta.x;
  29.                 vScrollbar.value -= keyDelta.y;
  30.         }
  31.  
  32. }
  33.  

9
NGUI 3 Support / Scroll View with buttons
« on: August 17, 2014, 02:54:53 AM »
I have a left  button that will make it scroll left as you click it.  I will have a right button  that when you click it scrolls right.   I do not want this on drag.  I did this and got some what working but its not working 100 %

What is the best way to handle this?

Thanks.

10
NGUI 3 Support / Re: Question about scroll views
« on: August 16, 2014, 10:25:54 PM »
I set up my scene again,and it fine so either I messed something up, no idea were, because it looked fine or it was a weird bug.  Either way its fixed . 


11
NGUI 3 Support / Re: Question about scroll views
« on: August 16, 2014, 09:14:07 PM »
In example 7 is what I WANTED, I followed It the same way but the scroll view moves as well, in example  7 it does not. 

12
NGUI 3 Support / Re: Question about scroll views
« on: August 16, 2014, 09:02:22 PM »
Let me try and explain this a bit better.      I have two windows 28 by 28.   When you scroll this, the window moves, and the scroll view moves to the second window.  Instead I would  rather see it scroll the view itself in one spot.   Right now the scroll view it self goes over each window and you only see each one, but it scrolls across each of them. When this happens window A is in this position >   Window b <  So when scrolling, not sure why you can't have both windows as you scroll, scroll the same area? 

I hope that is better  .If not I would have to show you  because its an issue  I have never seen before.   No idea why when you scroll the view  it moves,  I would want the windows only to move and as they move, you can see window 1, them you scroll more then window 2 shows. Right now when I do it, it changes the position  of were my view is.. Which makes it look weird.

13
NGUI 3 Support / Question about scroll views
« on: August 14, 2014, 03:49:27 AM »
I will do my best to explain this.


  I have a window for an inventory which is 28 by 28 .  I have the scroll view, when I scroll through the window the windows moves and the scroll  view. 
What is the best way so the window itself does not move.   I  have it set up, the window is moving and the scroll view. Which is something I'm not looking for. I have it were there are 3 28 by 28 windows, and I want it so you can scroll through each window in the same position.  Now its nearly works, but the scroll  view will show one window then the other, in another spot. I


I hope this makes sense . If so if anyone knows a better way to handle this, that would be great. I been following all of the examples.

14
NGUI 3 Support / Re: On MouseDown and Up
« on: August 09, 2014, 02:27:30 AM »
I knew about the UI Camera, I use it for my Keyboard  inputs, but for some reason my mouse up and downs were acting strangely so I figured I was doing it incorrectly.  By the looks of it,by your example and Am , it looks like that's the case. Thanks a ton.


15
NGUI 3 Support / On MouseDown and Up
« on: August 07, 2014, 12:28:58 PM »
I have a question . Normally I would use MouseUp and Down.    NGUI, I see uses OnClick, OnPress.    I understand how this works.  But not enough in detail.  I have looked up what others have said, about this.

I have a 3d object and use a button  and when I press mouse Down, I have it rotating 180 degrees , on mouse Up, I have it return back to its original position.     I'm using Tween rotation for this, which works great, I just need to get my mouse up and down to work the way I want.

I have no issues at all, when rotating , the mouse down works fine when using OnPress  But when I click the button it rotates as it should, but when the mouse is up, it still is rotating. Its almost like its ignoring the mouse up all together.

I guess I'm trying to understand how the Mouse up and Down works with NGUI, I have watch every tutorial I can, I have a book on NGUI its a bit dated but still enough to understand what I need to do.  This is the only problem in NGUI, I BEEN having were I have issues.

Normally this is super easy in UNITY.  In NGUI , I just don't understand.   OnRelease, I see in the docs. but I read somewhere saying, that you would use  OnPress (Bool pressed)  You would use false with your Boolean when releasing rather than using onRelease. 

Again I hope I explained this right, I'm at a lose, and this is an important project since its for my BA Capstone.  So if I can understand this better on how the mouse up and down works in NGUI better that would be great. I'm not looking for anyone to code it for me.  I'm just looking for someone to point me in a better direction, and please the docs, for this is a little confusing since onRelease is not used from what I read.

Thanks for any info. 

Pages: [1]