Rotating A Sprite Towards An Object In XNA

July 14, 2008

Often when creating games in 2D you need a sprite to rotate towards another object, whether that be a turret rotating towards an enemy or making something follow your mouse. Regardless of the use of this rotation the principle is the same. In this tutorial I use the basic concept of making something follow the [...]

16

Tile Based Placement in XNA

July 4, 2008

Having just begun programming for XNA I thought I’d begin to share what I’ve been learning. One thing I definitely aim to do which I find lacking in many tutorials is explain the logic behind what I’m doing so it can be easily ported into other languages (such as Flash). For this tutorial I’m going [...]

3