Double tap

BeanstineBeanstine Member Posts: 101
edited January 2012 in Working with GS (Mac)
how can i make it to where if i double tap a button something else will happen then if i just taped the button?

Comments

  • fzeedfzeed Member Posts: 247
    i always have a timer in there to reset it back to 1 like After 1 sec set touchcount to 0. That way they can't just tap, wait 5 seconds and tap again. So, if it detects 2 taps in one second it knows its a double tap (i think i use .5 secs actually)
  • BeanstineBeanstine Member Posts: 101
    ok thanks for your guys help
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    Use touch count without timer, just change attribute back to 0 whenever it is.=> 2
  • joshiwujoshiwu Member Posts: 207
    edited July 2013
    Actually GLGames , Fzeed is right. You want it to reset every .5 seconds. AND reset when >= 2 (for a double tap.) without one or the other it just wont work.
  • joshiwujoshiwu Member Posts: 207
    Although .5 seconds is a LONG gap. maybe .2 or .1 seconds would be better.
Sign In or Register to comment.