How to program a game?

I'm trying to program a computer game. For example, the game gives a robot a random amount of health and you get a weapon which deals 100 damage. You can choose to attack or retreat (quit) after each attack. Now so far I've only been programming using C++ in the black console screen and I wanted to know how I can take that program and make characters and make a real game. It doesn't have to be anything fancy it can even be 2D... I just wanted to know how.
Read this thread and follow the link in it:

http://cplusplus.com/forum/beginner/55330/
Last edited on
closed account (zb0S216C)
Not matter how small or large a game is, every game has a design document, which is a document that game developers use. The document contains conceptual art, character listings, weapons, armour, etc.

Here's a rough list on what your DD needs:

- General information such as genre, PEGI Rating, etc...
- List of weapons, armour, potions, etc...
- Sounds used
- Animations
- Character scripts (dialog)
- Tile types (2D game)

Take your time with the DD. Rushing the design introduces bugs at both early and late stages. Besides, the design is the best part since your imagination runs wild. Not only that, as an indie developer, there's no restrictions and you're following your ideas; the content will be what you choose, not what others chose.

Enjoy :)

Wazzak
To program a game you need skill. And skill is gained from experience. And experience is gained from some source(for your information that is book). Don't take online tutorials. Go buy yourself a book whereas others will learn bad with online tutorials(not so bad, but online tutorials are not by professionals but hobysts).

Game programming is not very hard nor is very easy. It is medium, first you must know math. Not high school one but basic one. Then of you want to write your own engine you should also know some of the physics.
Topic archived. No new replies allowed.