Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Learning To Program Games


  • Please log in to reply
9 replies to this topic

#1 wemibelec90

wemibelec90

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Local time:11:34 AM

Posted 19 July 2006 - 12:20 AM

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++.

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:34 AM

Posted 19 July 2006 - 12:46 AM

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? :thumbsup:

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.

#3 wemibelec90

wemibelec90
  • Topic Starter

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Local time:11:34 AM

Posted 19 July 2006 - 01:53 PM

It is a little different. I simply need to know more commands that are used in game programming.

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:34 AM

Posted 19 July 2006 - 02:13 PM

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.

#5 wemibelec90

wemibelec90
  • Topic Starter

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Local time:11:34 AM

Posted 20 July 2006 - 07:00 PM

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.

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:34 AM

Posted 20 July 2006 - 07:20 PM

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".

#7 wemibelec90

wemibelec90
  • Topic Starter

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Local time:11:34 AM

Posted 21 July 2006 - 01:16 PM

Someone please delete this topic. There is no one helpful on this board.

#8 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:34 AM

Posted 21 July 2006 - 01:42 PM

Game Programming Web Sites:
http://www-cs-students.stanford.edu/~amitp/gameprog.html
http://www.gamedev.net/
http://www.gametutorials.com/
http://www.ultimategameprogramming.com/
http://www.gameprogrammer.com/
http://glbook.gamedev.net/
http://scorpioncity.com/djdirectxtut.html

Game Programming Books (and reviews of books):
http://www.amazon.com/gp/product/158450049...ce&n=283155
http://larc.csci.unt.edu/books.html
http://www.zingtech.com/features/gamedev/gbooks.htm
http://www.javaworld.com/javaworld/jw-09-1...bookreview.html
http://www.amazon.com/s/ref=nb_ss_gw/104-0...o.y=0&Go=Go

Free EBooks:
http://www.intelligentedu.com/blogs/post/F...gramming-eBooks

#9 Alan-LB

Alan-LB

  • Members
  • 71 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Junee, NSW, Australia
  • Local time:03:34 AM

Posted 22 July 2006 - 03:11 AM

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
There are 10 types of people - those who understand binary and those who don't!!

Today is the Beta version of Tomorrow!

#10 Osiris

Osiris

  • Members
  • 140 posts
  • OFFLINE
  •  
  • Local time:11:34 AM

Posted 02 August 2006 - 02:17 AM

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


OMG :thumbsup: 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
I can only learn what i want to learn.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users