Joystick on WP7

May 31, 2012 at 8:12 PM


I dont know how to use joystick on wp7.

  VirtualGamePadSkin gamepad = new VirtualGamePadSkin();                                          

gamepad.LeftStick.ThumbStickTexture = content.Load<Texture2D>("thumbstick");           

gamepad.LeftStick.AreaTexture = content.Load<Texture2D>("thumbstickBase");              

gamepad.LeftStick.SensibleVisibility = true;               

gamepad.LeftStick.MaxThumbStickDistance = 30f;

but where I can to show my joystick? With new framework version this tutorial

don't run because .NET don't find bones and getPlayerInput from framework.


Thanks in advance,



Jun 4, 2012 at 9:18 PM

Which version of the framework are you using Gabriele?

Jun 4, 2012 at 9:56 PM

last version!