I come by every now and then to drop off game programming gifts. Today's gift is how to program perfect virtual controls. Please feel free to ask any questions you like.
That awesome but whats the point if you aren't going to post source?
The point is to show you the best way to make your virtual controls work. What you are seeing is some basic lines drawn on the screen and 2D vector math. Anyone making a game should be able to watch the video and copy what I did. I did post code on this forum and blog for programming the best multitouch so just take that and add onto it.
Just a quetion, why you prefer to move the yellow cirlce also when user "fixed" it? I mean, when a user tap a part of the screen and then move it on the right, doesn't expect to move also the d-pad......