Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Mickman on March 21, 2013, 04:53:12 AM

Title: infrequent button actions in scenes [ Sorted ]
Post by: Mickman on March 21, 2013, 04:53:12 AM
Hi,

All my buttons on my main menu work great on my iPad2 game but .... When I goto scene2  I have to tap the return button maybe 5 -10 times to get a reaction.

Range Distance vs Threshold.. what's the difference ?   
Note: the button in scene 2 is a HUD style button.     

Mick
Title: Re: infrequent button actions in scene 2 ( Scene 1 is great )
Post by: ArenMook on March 21, 2013, 10:45:24 AM
Not sure what range you're talking about. UICamera has settings for this sensitivity. Touch Drag Threshold / Touch Click Threshold.
Title: Re: infrequent button actions in scene 2 ( Scene 1 is great )
Post by: Mickman on March 21, 2013, 11:06:29 AM
 Range Distance  is a variable on the camera.  (directly under Thresholds )

So I notice if I set it to under 2 the button will not trigger in the scene when I hit play.. but over 2 is fine.  Then I build to X-code and run the game but the button's still inconsistent when tapped.

I adjust the Touch threshold but nothing changes.   
Title: Re: infrequent button actions in scene 2 ( Scene 1 is great )
Post by: ArenMook on March 22, 2013, 02:08:47 AM
Oh that one. Keep it at its default value of -1. You don't need to adjust it.
Title: Re: infrequent button actions in scene 2 ( Scene 1 is great )
Post by: Mickman on March 22, 2013, 04:43:39 AM
Cheers.. I'll give it a crack   :)