- Home /
Tracking Touch Points on Screen for Mobile Devices
Does anyone have any good information for handling multiple points for any of the following situations? [Particularly for Android, unless it isn't any different from iOS ]
The above diagram basically explains what I am talking about. I usually refer to the reference and any available tutorials when it comes to this learning something new, but I haven't been able to find a tutorial for Android and I'm not to sure where to look for all the available functions/classes for Android. I managed to find this in the reference, but I'm not to sure how to use it with multiple points.
- Slash across an object [Similar to the game Fruit Slice]
- Moving an object from point 1 to point 2 [Or like a toss effect]
- Zoom in/out screen pinch
- Drawing an ellipse and counting them.
- Drawing/tracing multiple points [In a particular order]
A code based implementation would be nice, I want to know the complexity of doing it from scratch before buying pre-existing packages.
Answer by DaveA · Apr 18, 2011 at 09:14 PM
There's a 'swipe' extension or code in the Asset Store might be worth a look.
I'm not in front of Unity right now, but is this the same thing? http://gameassets.net/swipeControl.html
I wan't to make sure it will allow for what I'm trying to do.
This hasn't really helped me with the solution as of yet since most of the examples are mainly for the creation of menus and such.
For line drawing, I'd look at LineRenderer, the GL stuff (Pro), or Vectrocity (in the asset store)
Your answer
Follow this Question
Related Questions
Mobile - lingering touch even after finger lifts 0 Answers
Best way to do touch in with Unity2D? 0 Answers
Avoid touch input when pressing the "Pause" button 1 Answer
Different Touch iOS work fine/Android problem 1 Answer
Touch joystick tutorials ? 0 Answers