I made a virtual joystick for a game yesterday, and I like it. I figured I could share it with the community.
It's the kind that pops up where ever you put your finger ( as long as that's inside the box you've told the joystick to work within ) and disappears when you lift your finger.
No having to look at the screen to find the stick again, it's always in the right place.
Anyway, included is some sample code and the complete joystick with graphics I created. The graphics is easily interchangeable and you are free to do so, credit me or don't.
Should be tested on a touch device to see the benefit.
Don't forget to add the UDT to your main.agc and #include tonkjoy.agc, and you're all set.
My hovercraft is full of eels