Grid Component
One of the most fascinating things about some game Add-ins are the grid patterns used. For one, I would like to put a 3D grid pattern on the console face that looks like a chess board ,viewed from a 30 degree angle. This is to make a perspective view for designing other objects that may be used in the game.
here is the basic outline :
public partial class GameComponent1 : Microsoft.Xna.Framework.GameComponent
{
public GameComponent1(Game game)
: base(game)
{
// TODO: Construct any child components here
}
/// <summary>
/// Allows the game component to perform any initialization it needs to before starting
/// to run. This is where it can query for any required services and load content.
/// </summary>
public override void Initialize()
{
// TODO: Add your initialization code here
base.Initialize();
}
/// <summary>
/// Allows the game component to update itself.
/// </summary>
/// <param name="gameTime">Provides a snapshot of timing values.</param>
public override void Update(GameTime gameTime)
{
// TODO: Add your update code here
base.Update(gameTime);
}
}
Here is link to someone who is programming code for XNA: