Gaming SmileBasic [Touch Screen]

  • Thread starter Thread starter Cat15368
  • Start date Start date
  • Views Views 997
  • Replies Replies 2

Cat15368

Well-Known Member
Newcomer
Joined
Feb 18, 2018
Messages
80
Reaction score
4
Trophies
0
Age
35
XP
352
Country
United Kingdom
I can't figure out how to make the touch screen only work at certain points. PLEASE HELP!
 
What do you mean by work at certain points? If you mean detecting touch within a range, use comparisons.
Like
IF X>10 && Y>10 && X<20 && Y<20 THEN 'whatever you wanted when you touched this range
could check for collision in a square between (10,10) and (20,20).
 
What do you mean by work at certain points? If you mean detecting touch within a range, use comparisons.
Like
IF X>10 && Y>10 && X<20 && Y<20 THEN 'whatever you wanted when you touched this range
could check for collision in a square between (10,10) and (20,20).
thanks
 

Site & Scene News

Popular threads in this forum