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

Pages: [1]
1
NGUI 3 Documentation / Re: UIScrollView
« on: February 02, 2015, 04:25:22 AM »
Normally UICenterOnChild will snap to the 2nd item if we scroll to more than half way between 2 items to get the 2nd item be "the nearest item" to snap right? I want to scroll only a bit, pass the threshold, to make scroll view snap to 2nd item like nextPageThreshold in UICenterOnChild does.

2
NGUI 3 Documentation / Re: UIScrollView
« on: February 02, 2015, 12:31:39 AM »
Thanks! Aren. Got it :D

I'd like to ask more question, about UICenterChild's next page threshold. Can I do similar thing without using UIGrid?
I want my scroll view items to have gap between each others + have a threshold for scroll view to snap to the next item not to scroll to half way to make it snap to the next item.

Sorry for my bad English.

3
NGUI 3 Documentation / Re: UIScrollView
« on: January 30, 2015, 09:44:46 AM »
I'm using NGUI version 3.7.6p2 I think. It should be up-to-date enough, isn't it? Could you please check it again or do I set anything wrong?


4
NGUI 3 Documentation / Re: UIScrollView
« on: January 29, 2015, 01:14:13 AM »
Hi Aren,

I'm a newbie for NGUI here. I tried to use a scroll view and found that there is an unexpected behavior similar to nerophon post here, has this issue been fixed? if not how can I fix it?

Quote
Hi,

We love the CenterOnChild behavior and are using it to tween our scrollView. Sadly, however, if a user taps / clicks during the tween, the tween is canceled (or overridden?) and the scrollView stops where it is. It does not even snap back to the nearest child.

How can we prevent this behavior? We want the scrollView to NOT stop tweening due to a user press, but a user swipe should still override it with a new tween in the new swipe direction.

Many thanks!

Nick

From my expectation
 - pressing should stop tweening
 - release should continue tweening
 - swipe should override the tween

Thanks in advance :)

Pages: [1]