Skip to main content
Reading Time: < 1 minute

As I said in the previous article, this post is the series Windows Phone Labs from the MSP Labs, the second session.

I prepared an XNA hands-on game development tutorial. My proposed game was “golf practice”, as you can see in the video below.
The requirements were:

  • to add the sprites: golf background, golf ball and the score
  • to play background music
  • to read gestures: tap (change the color of the ball), drag (drag the ball to a different position), flick (throw the ball)
  • the ball should bounce off the edges of the screen and also have a natural movement, adding friction and velocity components.
  • to implement collision detection between the ball and the sand