Showing posts with label 2D Tutorials. Show all posts
Showing posts with label 2D Tutorials. Show all posts

Sunday, September 09, 2007

Tutorial 8 -- Keyboard Key Presses and Mouse Clicks

Introduction

This tutorial shows you how to track keyboard key presses and mouse button clicks.

Requirements

Knowledge of Tutorial 7.

Read

Read the tutorial here: Tutorial 8

Remember

You don't get to Heaven by what you do, but by what you believe.

Saturday, September 08, 2007

Tutorial 7 -- Advanced Sprite Drawing

Introduction

This tutorial talks about the different parameters used in the different method overloads of spriteBatchVariable.Draw. This tutorial also talks about what method overloads are.

Requirements

A sprite drawn on the screen.

Read

Read the tutorial here: Tutorial 7

Remember

Be a hero: Don't conform; Be selfless; Make a difference

Tuesday, September 04, 2007

Tutorial 6 -- Mouse Input

Introduction

In this tutorial you will learn how to move a sprite to a certain position based on where the mouse is pressed at. You will learn how to check for rectangle collisions using a new method called the Intersects method.

Requirements

Knowing how to load a Texture2D with an image.

Read

Read the tutorial here: Tutorial 6

Remember

If something bad happens, do you really think God does not have it under control?

Sunday, September 02, 2007

Tutorial 5 -- Handling Input

Introduction

This tutorial teaches you how to move the sprite whenever a keyboard key is down.

Requirements

A drawn, movable sprite (shown in Tutorial 4)

Read

View the tutorial here: Tutorial 5

Remember

Seriously, where do you think you are going to go when you die?

Saturday, September 01, 2007

Tutorial 4 -- Rectangle Collisions

Introduction

This tutorial shows how to do some collision checking using the Rectangle class. You will end up with a sprite moving from one side of the screen to the next reversing its direction whenever it collides with a screen edge.

Requirements

A moving sprite (shown in tutorial 3)

Read

View the tutorial here: Tutorial 4

Remember

You don't have to live a life with no point. God offers a free gift. Take it.

Tutorial 3 -- Moving Our Sprite

Introduction

This tutorial explains how to move a sprite. There is no collision checking or input handling. This tutorial is meant to teach someone how to move a sprite.

Requirements

A sprite drawn on the screen (shown in Tutorial 2).

Read

View the tutorial here: Tutorial 3

Remember

Don't worry. God has everything under control.

Friday, August 31, 2007

Tutorial 2 -- Drawing Our First Sprite

Introduction

This tutorial shows you how to draw a sprite onto the screen. You do not need any coding experience in order to complete this tutorial.

Requirements

A windows game project (created in Tutorial 1)

Read

View the tutorial here Tutorial 2

Remember

If you need something, pray.

Tutorial 1 -- Starting a new Project

Introduction

This tutorial shows a introduction to starting an XNA project. This project will be the project that we will use for the following 2D Basic tutorials.

Requirements

C# Express Edition
XNA version 1.0

Read

View the tutorial here: Tutorial 1

Remember

The Lord is all there is to life.