WP7 free movement

Topics: Developer Forum, User Forum
Jun 21, 2011 at 9:38 AM


I creating a 2d platform game on windows phone using XNA and have been trying to use Farseer 3.2 to implement a free drag character movement with gravity and collisions. Using the fixture factory I can create a rectangle or circle body and draw an image at its location, but moving the object is proving hard to do. I had a look at the simple samples code and tried to figure out how it was being controlled, but have not been able to figure out how it has been set up. I was wondering if anyone had some sample code to get me started on setting up a free drag movement system please?

Jun 21, 2011 at 3:58 PM

decided to look at the raw movement data using this http://create.msdn.com/en-US/education/catalog/article/gestures as a start point. managed to create a system to drag objects and effect their velocity.