Look Here Please

This is a discussion on Look Here Please within the Game Programming forums, part of the General Programming Boards category; I would like someone to nudge me into the right direction, so that i can make a game. i have ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    28

    Arrow Look Here Please

    I would like someone to nudge me into the right direction, so that i can make a game. i have taken a cpp class before and got up to the point of how to use and make functions altho i didnt get it very well. i was wondering if someone could tell me what they think kind of game im capable of making with my current knowledge and also, if i dont have enough what i should do to increase it.

    eg. Online Books

    thanks alot

    Loki

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Away.

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    28
    thanks alot, ive been reading the tutorial on the cprogramming website.

    if anyone has anymore suggestions, they are welcome.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    A few biggies you should learn about (in addition to functions):

    -pointers
    -classes/structs
    -arrays/strings
    Well, there are a few things wrong with your code:

    1) It does not work.
    2) It does not work.
    3) It does not work.

    Hope this helps.

  5. #5
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    And references, and const references are fun to use too
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    And references, and const references are fun to use too
    Arn't those the same as pointers?
    Well, there are a few things wrong with your code:

    1) It does not work.
    2) It does not work.
    3) It does not work.

    Hope this helps.

  7. #7
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    No, references cannot be re-assigned. They are cleaner, too (no thevariable->this_and_this or (*thevariable).this_and_this), and make code easier to read IMO. Pointers also seem easier to screw up with.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  8. #8
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    after you get use to reading/writing c/c++ code
    if your serious about this then buy "The C++ Programming Language" by stroustrup $65

    i suggest you make some basic games for a console. tow tac tick, worm, packman, etc.
    you learn how to organize things.

    buying books helps if you have the mmoney.
    warning some are very expensive and worthless.

    most have the same stuff you can fine on the web. when you buy them go to boarders and read through a little. if its full of stuff you already read or understand then you dont need it.

    you need to know some basic windows programming
    http://www.winprog.org/tutorial/

    try porting your games from a console to a window. dont worry about being fancy. just finish your error checking and you set.

    then try opengl or directx
    http://nehe.gamedev.net/
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  9. #9
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    you need to know some basic windows programming
    False. Only if you're working in a Windows environment And then, only if you're good with C/C++ already. Other than that, I agree
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  10. #10
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Originally posted by Hunter2
    False. Only if you're working in a Windows environment And then, only if you're good with C/C++ already. Other than that, I agree
    Yeah, Windows is a hassle to deal with. If your going for graphics, try Allegro .
    Well, there are a few things wrong with your code:

    1) It does not work.
    2) It does not work.
    3) It does not work.

    Hope this helps.

  11. #11
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    if you don't even know C++ you're going to have a really hard time trying to make even the simplest games.

  12. #12
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    if you don't even know C++ you're going to have a really hard time trying to make even the simplest games.
    Yes, but contrary to popular belief, some people DO reach a stage in life where they are somewhat comfortable with the language but aren't really ready to take on the Windows API and its screwy messaging system yet Making simple games is a fun (?) way of working up to the point where you DO have the patience and/or knowledge to learn WinAPI.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  13. #13
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

  14. #14
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    WinAPI is a boring ol' beast of an API. I know enough C++ to learn the API, but it's so boring that I stopped on chapter 5 of my book.

    Now I'm doing DirectX, and having a lot of fun.

    Oh, and the only game I ever made was a console tic tac toe which took next to no time to complete. I've also messed around with coding some 3d stuff with SDL for the graphics (the math was all my own). Other than that, I really haven't made much, but I've read several books, programmed in other languages, hung out on these boards, and I'm really logical, so it works out. Whenever I start a project, I make sure it's over my head a bit so that I'll learn a lot and it will be cool... keeps me interested. It works for me, but it might not work for you.

    Ummm... here's a tic tac toe tutorial I wrote. Read it and make that for a first "game." http://confuted.0catch.com/tutorials...tictactoe.html
    Away.

  15. #15
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    Yes, but contrary to popular belief, some people DO reach a stage in life where they are somewhat comfortable with the language
    and being at a point where you have touched upon functions but 'don't really get it well' certainly does not count as being comfortable. Learn the language first unless you've got a pseudo code compiler

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21