XNADevelopment.com - Creating a 2D Sprite (2.0)

firstsprite I have completely re-written the tutorial covering creating a 2D sprite and posted it to my site at XNADevelopment.com. I'm much happier with it this time around. This tutorial covers displaying your first sprite on the screen and then positioning the sprite. The tutorial then takes you a step further and helps you get accustomed to object oriented development and walks you through creating a "Sprite" class for creating and drawing your sprites on the screen. Teaching you a fundamental step you will take throughout your game development process.

Go ahead and take a quick walk through on Creating a 2D Sprite.

These tutorials take time to create, so if you've benefited from them, let me know and take the time to leave a comment. I appreciate each and every comment and bit of feedback I get. Thanks for taking the time to show your appreciation.

Print | posted @ Friday, March 07, 2008 6:42 PM

Comments on this entry:

Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Spoon at 3/13/2008 9:07 PM

Excellent tutorial. My first time on XNA, and C# [I know C++ though] and it makes perfect sense and explains why I'm doing what I'm doing instead of just blindly pasting lines in. Thank you very much :)
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Rob at 3/16/2008 4:04 PM

This has helped me out a lot, excellent tutorial please keep them coming.
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by George Clingerman at 3/17/2008 7:33 AM

@Spoon - Thanks! I appreciate the comment. Makes me feel like it's worth the time I put into them.
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by George Clingerman at 3/17/2008 7:33 AM

@Rob - Glad to hear they're helping! Thanks a lot for taking the time to let me know. I really appreciate it.
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Sal at 3/18/2008 7:46 PM

Hey Thank you so much George this is massive help!

Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Cameron at 3/20/2008 8:34 PM

Hey George, i LOVE these tutorials they are great help, please keep more coming!!!!!!!! Maybe some platform collisions, gravity, all types of tutorials. They are GREAT please keep more coming for 2.0!
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by subramanya at 3/23/2008 10:11 PM

hello, it was such a beautiful website for beginners.I Thank you a lot for rendering such a wonderful website for the beginners like us.
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Pedro Luz at 4/13/2008 7:16 AM

Hi,

In the "Creating a 2D Sprite - Drawing your first sprites to the screen" if you want to use the ContentManager in the LoadContent method in the Sprite class, you need to add

using Microsoft.Xna.Framework.Content;

ps: nice tutorials :)
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Dome F at 5/9/2008 1:05 PM

Hi,
very nice & easy tutorials
just what i'm looking for

thanks :)
Gravatar # re: XNADevelopment.com - Creating a 2D Sprite (2.0)
by Ricardo at 5/11/2008 9:12 PM

Hi,

Its great... thanks for help us...

:)

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 3 and 5 and type the answer here:
 
Twitter