spriteBatch.Draw();

This tutorial is for C# XNA 4.0 for visual studio.

First off you need to create a new project with XNA and choose windowsgame and then name it.
new project

To Load in a new texture to your project you need to do this:

Right click the Content file in the solution explorer, then follow the instructions on the picture.
When you’ve pressed Existing item you only need to find what you need and then you’re good to go.

solution2

Now that you’ve loaded your texture in to the project you can start with the tutorial.

step 1.

1

step 2

2

step 3.

4

5
This was my tutorial, hope you learned something new and that it was clear and not too hard to understand.

Yours sincerely Birk.


Leave a comment

Design a site like this with WordPress.com
Get started