Virtual D-Pad?
Monkey Forums/Monkey Programming/Virtual D-Pad?
| ||
Is there any code out there for a virtual D-pad? Seems like I saw someone talking a while back about a framework he was working on that might include it. Any ideas on how to program such a thing? |
| ||
I've coded a very basic one. It's hardcoded to the lower left corner. Also note that I use PointInRect which is not optimal. A distance check will give better result I guess because it's radial and therefore better for fingers. |
| ||
Thank you very much... I will change it to distance check and re-upload it. |
| ||
Sorry to revive such an old thread, but did you ever make the changes noted above? |
| ||
On the Desktop version the Xbox Dpad should now work. Check out Mark's sample app for an example. |