Thread: I need help with this game thing....

  1. #1
    Unregistered
    Guest

    I need help with this game thing....

    I want to know how to program games. Not C++ programs that calculate a bank account. I know how to do variables, loops, arrays, strings, and all of the other basics, but I want to know about games. I was hoping somebody here could recommend a good game programming tutorial online. TIA.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571

    Re: I need help with this game thing....

    Originally posted by Unregistered
    I want to know how to program games. Not C++ programs that calculate a bank account. I know how to do variables, loops, arrays, strings, and all of the other basics, but I want to know about games. I was hoping somebody here could recommend a good game programming tutorial online. TIA.
    www.gametutorials.com
    www.flipcode.com
    http://nehe.gamedev.net/
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    I don't think he knows that C++ can be used for non-console

  4. #4
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Unregistered, look into a good, simple API like Allegro or even the Window's GDI (if you're using a Window's OS). Try to make a simple tic-tac-toe or hangman game.

    As for what goes into making a game, here's a basic, generic example of a games parts/pieces:

    Initilization
    GameLoop
    CleanUp

    And the inside of the game loop is basically defined as:

    GetUserInput
    AdjustGameState/MovePieces
    DrawGameScrene

    And the loop would repeat until the user chose to exit, or a win or loss condition was met.

    The links that MrWizard gave above have some really good tutorials and articles (especially gamedev).

    Good luck!

  5. #5
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    That question can't really be answered easily. But, you'd want to start by making a console game, and I don't think there are many tutorials on that. The reason is, tutorials aren't really needed for that.

    You have to start on your own. I remember I asked the same question when I started, but I learned on my own. Start by making something like tic tac toe in console with c/c++. Just go through the game, and figure out how to code it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. my upcoming UNO card game :)
    By Hussain Hani in forum Game Programming
    Replies: 5
    Last Post: 01-24-2008, 01:19 AM
  2. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM