Sunday, May 12, 2019

xna - Making (or emulating) a "D-Pad" on a touch-screen; virtual d-pad


With the proliferation of touch based devices, many lacking a true D-Pad, I'm wondering if anyone has any resources on how to emulate a D-Pad on a touch screen? I'm specifically interested in XNA and/or Android code examples.



Answer



There is an XNA sample of touch thumbsticks here



I would reiterate that a dpad is unlikely to be the right interface for a touch screen like device.


Something like what epic has done with Infinity Blade for the iPhone may give you inspiration Movie Link


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...