Game Development Community

Tutorial wanted: Onscreen joystick

by Andy Hawkins · in iTorque 2D · 05/12/2012 (8:42 am) · 1 replies

I would like to know how to control a character with an onscreen joystick. I understand that it would probably start with an onTouchDown event, but what then? How do I track the fingers movement and translate that to movement for the character? Has this been done by somebody?

#1
05/17/2012 (6:05 pm)
There is this resource that I have yet to try:
www.garagegames.com/community/blogs/view/19395

I'm not sure if it is equivalent to a Unity or ShiVa iOS controller (thumb around/snap back) but it looks decent.

- I would like to build a proper one, but I lack time..and maybe iTGB knowhow as well. :P Let me know if you try it out.