Author Topic: infrequent button actions in scenes [ Sorted ]  (Read 4951 times)

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
infrequent button actions in scenes [ Sorted ]
« 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
« Last Edit: March 23, 2013, 06:20:13 AM by Mickman »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: infrequent button actions in scene 2 ( Scene 1 is great )
« Reply #1 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.

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: infrequent button actions in scene 2 ( Scene 1 is great )
« Reply #2 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.   
« Last Edit: March 21, 2013, 11:39:23 AM by Mickman »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: infrequent button actions in scene 2 ( Scene 1 is great )
« Reply #3 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.

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: infrequent button actions in scene 2 ( Scene 1 is great )
« Reply #4 on: March 22, 2013, 04:43:39 AM »
Cheers.. I'll give it a crack   :)