All Questions
Tagged with touch mathematics
4 questions
0
votes
1
answer
62
views
How to enforce touching within a ring shape?
I'd like to have the player moving the finger within the shaded ring:
The game should be able to detect "out-of-boundary" events once the finger moves outside the ring. How can I accomplish this?
1
vote
2
answers
360
views
atan2 : inversed result? (angle 180 is on the right side, angle 0 on the left side)
the result of the angle between my touch and the middle,bottom of the screen gives me 180 when the touch is on the right side of the screen, and 0 when it is on the left. I don't understand why...
<...
3
votes
3
answers
2k
views
Spot the difference game design help
I'm thinking of making a spot the difference game. But immediately I stumbled over a problem. I'm thinking of storing a "difference area" in the form of a x,y ...
6
votes
2
answers
567
views
Calculating and detecting curves
How can I detect the 'steepness' of a curve? For example, if the user swipes their finger across the screen in a curve, what's the best way of detecting whether the curve is almost a semi-circle, or ...