Sprite Movin'

Posted on December 29, 2006 06:17 by LeviRosol

Tonight's progress isn't much really considering it's all a step by step copy/paste job from the tutorial that George W. Clingerman put together*. However, it does create the base for my next 2D tech demo using XNA. It won't be anything special, but it should give me a better understanding of the XNA pipeline and a few best practices for working with it. Up until this tutorial I wasn't very clear on how to handle things like updating a characters display independent of other objects and stuff like that. This tutorial helped bridge that gap and now it's time to modify this code into something a bit more fun.

Here's a link to the demo so far: HERE

Remember, use IE for that link, and have the pre-reqs installed first.

 

* There was a minor bug with the code in the Game.Update method. The double gameTime.ElapsedGameTime.TotalSeconds needed to be converted to a float.

//Update the Wizard

mWizard.Update((float)gameTime.ElapsedGameTime.TotalSeconds);

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

March 10. 2010 13:31