Thread: How do you program a game w/ C++ ???

  1. #1
    Kazikame
    Guest

    Question How do you program a game w/ C++ ???

    I am just starting out in my programming journey an I started for the main purpose of game programming, I have no clue on how to include graphics or anything... Is there a tutorial of this somewhere or could someboy please teach. I am sorry if I have botherd anyone with this post. Thank You.

    //_Kazikame_\\

  2. #2
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    How much programming experience do you have? What kind of game are you thinking of making?

    A good general game development site is www.gamedev.net. Other than that, without any information I don't know where to point you.

  3. #3
    Darkenzeru
    Guest
    I was thinking along the lines of an RPG , I just need to know how to add graphics and make it more interactive.

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    forget game programming for at least a year and learn the syntax of c++ and how to use the STL properly. After that you may want to spend another 6 months learning some of the windows api. After that you can then progress to directx or opengl.
    c++ game programming is near impossible for a newbie to the language but with time and experience there is no better language for programming rpg's.
    If you are not prepared to expend time and much effort towards achieving your goal then maybe you should take a look at Darkbasic or even Visual basic. These 'languages' will give you much faster results but you will never create anything to rival a c++ program of the same ilk.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    hehehe - "languages" hehe.

  6. #6
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    I was just like you when I started programming C++. I wanted to include graphics and stuff. The reason I even started is because I saw all these great games made out of C++. Boy was I surprised after the first three weeks that still all i could do is make output in a Console(Those Small Black Boxes like DOS). Now everything is coming clear to me, I am starting to program for windows, and, starting to program Graphic stuff for DOS just to brush up on my skills. Soon I will be able to make a cool game. I'm 12 right now, and I just love programming. With an honest effort and dedication I'm sure that I'll be able to create a professional game before I'm a teenager.

  7. #7
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    The best way to go about programming in c++ is typed the code using your keyboard, possibly looking at some sort of monitor. After that use your handy-dandy c++ compiler to compile your wonderful code.

    That superficial answer should tide you over until you find a good site on game programming and buy a decent book on programming c++.

  8. #8
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    C++ will teach you how to conceptualize the design of the game. The standard language is the skeleton and the graphics is like putting flesh on the skeleton. It's probably not a good idea to start with graphics programs.

    Also real game development is a large project. You probably can not go it alone, however learn as much as you can.
    I compile code with:
    Visual Studio.NET beta2

  9. #9
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    I know it sounds corny but do a course, even if it's a night course, a human teacher will teach you a lot better than a text book. I learn from text books at the same time so if I don't understand something I ask my teacher the next day. I've studied C++ for a year now and have not started on the advanced stuff.
    By the way, openGL is a great graphics program and nehe.gamedev.com is fantastic to learn from.
    My site to register for all my other websites!
    'Clifton Bazaar'

  10. #10
    Unregistered
    Guest
    Jamagic www.clickteam.com seems better that dark basic and the syntax is closer to c++ id recomend that instead of db. Personaly though I'd still say just start learning c++ you don't really need any entry level languages.

  11. #11
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    Dont bother takeing a course if you know anything about what is going on, im in a c++ class now, and its a joke.

    If i had of taken it 2 years ago, then I could be learning some stuff, but as it is the class is sad.

  12. #12
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    I'm sorry to hear you think your class is a joke but really that comes down to individual teachers. The teachers I have are very competant and very helpful so I have no complaints about my course.
    My site to register for all my other websites!
    'Clifton Bazaar'

  13. #13
    Registered User kitten's Avatar
    Join Date
    Aug 2001
    Posts
    109
    I really wish there would be qualified teachers available, but any class I've taken that includes programming have been a joke. Last C++ class finished before we could even deal with classes.
    Making error is human, but for messing things thoroughly it takes a computer

  14. #14
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    dont get me wrong, my teacher is good, and knows whats hes doing.

    There are just so many people in the class that cant figure out how to declare a function we cant do anything intresting.

  15. #15
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039

    want a carrot

    Don't take a class...read a book and be happy
    read some tutorials and be happy
    then go outside and be happy with your dog
    anyway
    I learned all by myself (I'm a big boy! hehe..) on how to program a game and stuff. I decided after lots of hard thinking and drooling over all these cool games made out of C++, that I should start to learn. i asked my mom if i could simply go to the bookstore and buy a book for C++, and a book for game programming in C++(Though i never found any books for game programming, so I just took what I knew and used it) Of course I ended up learning all this garbage before i could make a game...bla bla. What I'm trying to say is you can learn how to make a game faster by taking your time instead of having to keep up with everyone else in the class. How would I know? I spent one week in this so called 'computer camp' with a bunch of teenagers that think they know everything and theyve got zits all over their head and down to their neck...then the fairy came over to my house and asked me if I wanted to go on a date then im like then she's like then im like then she's like then i said that she said that he said that the fairy said

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 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. Lottery game
    By geetard in forum C++ Programming
    Replies: 2
    Last Post: 12-20-2005, 12:50 AM
  4. I want to program a game, what do i need?
    By DarkViper in forum Game Programming
    Replies: 53
    Last Post: 11-19-2002, 05:39 PM