LoginLogin

t o u c h . . . t a p . . . f i n i s h

Root / Programming Questions / [.]

🔒
KHypnoCreated:
when tm goes from number to zero when tappED h e I p m e

when tm goes from number to zero when tappED h e I p m e
splam are you okay Anyway this is a program that detects when you stop touching the screen, because a few of those words sounded like a question.
TOUCH OUT T,X,Y

WHILE 1
  VSYNC
  
  OT = T
  TOUCH OUT T,X,Y

  IF OT==0 && T>0 THEN:?"Just touched"
  IF OT>0 && T==0 THEN:?"Just released"
WEND

M y a e s t h e t i c s e n s e s a r e t i n g l i n g

M y a e s t h e t i c s e n s e s a r e t i n g l i n g
Glad to be part of your ARG!