Tuesday, 17 March 2009

Tutorial Links..

XNA Tutorials:

2D Scrolling Background:
http://www.xnadevelopment.com/tutorials/scrollinga2dbackground/ScrollingA2DBackground.shtml

Scrolling Background
http://www.xnaresources.com/pages.asp?pageid=34

Creating a 2D Sprite:
http://www.xnadevelopment.com/tutorials/creatinga2dsprite/CreatingA2DSprite.shtml

Tutorials:
http://www.xnadevelopment.com/tutorials.shtml

Splash Screen:
http://www.virtualrealm.com.au/blogs/xna-tutorial-fading-a-splash-screen-from-the-distance/

High Score
http://xnaessentials.com/tutorials/highscores.aspx

Explosions
http://www.xnaresources.com/pages.asp?pageid=40

Power-ups http://www.xnaresources.com/pages.asp?pageid=43

Interface http://www.xnaresources.com/pages.asp?pageid=42

Audio http://www.xnaresources.com/pages.asp?pageid=44

Pause Menu http://www.insidegamer.org/documents/XNA%20Development-6.pdf

Force to an Object http://www.ziggyware.com/readarticle.php?article_id=199

Xml Interface / Menu http://www.ziggyware.com/readarticle.php?article_id=215
http://www.ziggyware.com/readarticle.php?article_id=188

5 comments:

  1. http://www.xnafusion.com/?p=19 (Another Explosion Link)

    ReplyDelete
  2. http://www.awestyproductions.com/tutorials/c-sharp/xna-sidescroller-part-2/

    ReplyDelete
  3. http://blog.rajprasad.net/tutorials/2d-camera-in-xna/2/

    ReplyDelete
  4. http://www.xnawiki.com/index.php/Easy_Camera_Movement_Class

    ReplyDelete
  5. The system I use is quite simple. I just have an enumeration with the various different states in it, and in the main loop I use a switch statement. Works well enough, I suppose.

    eg.
    enum GameState
    {
    PreInitialLoad,
    InitialLoad,
    StartScreen,
    MainMenuLoad,
    MainMenu,
    MissionLoad,
    InGame,
    InGameMenu,
    ScoreScreen,
    }

    /*...*/

    protected override void Update(GameTime gameTime)
    {
    switch(this.gameState)
    {
    case PreInitialLoad:
    // Do stuff
    case InitialLoad:
    // etc.
    }
    }




    For a simple game, this no-frills approach works well.

    ReplyDelete