Help - Search - Members - Calendar
Full Version: Learning To Program Games
BleepingComputer.com > Software > Programming
   
wemibelec90
I know how to program fairly well in C++. I now want to learn to program games. I was just wondering what some good books were on the subject or some sites that have step-by-step guides to programming a game in C++.
groovicus
I get confused by questions like this, and I'm not trying to give you a bad time. I just wonder why people think that programming a game is any different than any other type of programming? A data structure is a data structure; a while loop is a while loop; a variable is a variable. What part of programming specifically do you feel you need help with? smile.gif

EDIT: Define " I know how to program fairly well in C++.". I have been programming in Java nearly every day for the past two years, and I wouldn't say I know anything approaching "fairly well". I would say competant, but that's it.
wemibelec90
It is a little different. I simply need to know more commands that are used in game programming.
groovicus
Perhaps I didn't explain myself very well. I'm sorry; I'll try again. One uses exactly the same commands for programming games as one uses for programming applications. For instance, if you want to keep score, you would have a variable that holds your score. IF you need to shoot an alien 10 times before it dies, then you will have another variable that holds how many times the alien has been shot. If the variable equals 10, then the alien dies.

As with all other complex applications, one must start with a blueprint, and be slowly built in a logical and systematic manner, using nothing more than conventional programming. There is no command "shoot bad guy" or "blow up building" or "drive real fast".


It is exactly the same.
wemibelec90
I know this. I am not an idiot. There may just be some not well-known things that a intermediate C++ programmer might not know of. Now, if anyone helpful wants to give me a hand, can you give me a few books good for a new game programmer.
groovicus
My apologies. It wasn't my intention to insinuate that you were anything.

Good luck on your search. Personally, I would recommend a good C++ reference to learn those "less known things".
wemibelec90
Someone please delete this topic. There is no one helpful on this board.
Alan-LB
You say that you "know fairly well how to program in C++". I think you would probably benefit by buying a good Intermediate level reference manual on the C++ Language and working your way through it thoroughly. Then make yourself familiar with the C++ Standard Template Library. I think when you feel more comfortable with programming in C++ you will be able to answer your own questions. For example you will learn that there are no "commands" specifically for game programming.

You could also search for any C++ libraries that have been specifically developed for game programming. A simple Google search will help here.

When you say "there is no one helpful on this board" you insult the person who has taken the trouble to read your posts and to reply to them in detail. If you are not capable of making use of the help you have already been offered I think you have a long, long way to go before you will be able to program anything at all!

Alan
Osiris
QUOTE
There is no command "shoot bad guy" or "blow up building" or "drive real fast".


OMG hysterical.gif im sry if i make anyone feel bad but groov that was awsome i had a good lauph when i was reading that i could tell you were getting a little ticked off.

I agree i dont think your a intermidiate C++ programmer if you cant seem to figure some things out your self or even use one of the most well known resources. Buy a C++ book intermidiate or not also www.pixel2life.com is a well known site for tutorials if you want to check out tutorials there ive seen a few around and programming a good game also requires some graphics. Then if you want to put it up on the net you need a Game Engine and you need to know how ActiveX works and theres alot of hassle you need to think about before you just jump right on in.

www.thegamcreators.com some of you old programmers might like DarkBasic and DarkBasicPro on that site considering it uses BASIC XD to make games but you have to buy it.

I dont even know how to program a game im currently a begginer in VisualBasic because well i just couldnt understand C++ but i know that there isnt any "variables" you need to learn if you want to drive a car down a road or to make yourself walk.

Anyway i hope the two links i added help you some what
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.