Am I ready????

This is a discussion on Am I ready???? within the Game Programming forums, part of the General Programming Boards category; Alright I am getting close to finishing my C++ book(not just reading through it reading through and understanding) and I ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    66

    Am I ready????

    Alright I am getting close to finishing my C++ book(not just reading through it reading through and understanding) and I wanna know what you guys did after getting the basics of C++ I wanna move onto something knew like Game Programming or Windows Programming. I think games look more fun but I think I will learn alot from windows programming too. So thanks for all your answers.

    Ryan

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    66
    Also what do you think I should start with first Games or Windows?

    Ryan

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    I believe that you have to have knowledge (and be fluent with) Win32 API programming. That's the base of DirectX programming and the sort. So, Windows, I believe, is neccessary first.

    --Garfield
    1978 Silver Anniversary Corvette

  4. #4
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Well in game programming, all you have know about Win32 programming is how to create a Window. After you know this, then you can program games. Although, it's always better to know Win32 Programming before you learn DirectX, because if you know DirectX, you can use many of the same concepts with DirectX.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  5. #5
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> because if you know DirectX, you can use many of the same concepts with DirectX. <<

    I think you mean:

    because if you know Win32 API, you can use many of the same concepts with DirectX.
    1978 Silver Anniversary Corvette

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Do whatever you're more interested in first. Either direction is equally good (especially if you aren't restricting yourself to one OS or version of OS).
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  7. #7
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> all you have know about Win32 programming is how to create a Window. <<

    But, won't you still have to handle messages? Maybe, "game" messages?
    1978 Silver Anniversary Corvette

  8. #8
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Actually, I pretty much just make the Window part too, because I hate doing that whole message deal in games. It makes sense for normal apps, but not a game.. to me anyway.

    (of course, haven't used direct X in almost a year, since I found Allegro.)
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    generally the only messages i handle in a windows game are those for a menu if the window isn't fullscreen.

    the rest (mouse intput, keyboard input, timers blah blah blah) should be done with other faster and more precise API calls

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  10. #10
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> In order to understand recursion, one must first understand recursion <<

    LOL That is the funniest thing I've ever heard!!! It is soooo true, too.

    Yeah, I understand about the message handling. Thanks!

    --Garfield
    1978 Silver Anniversary Corvette

  11. #11
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Well, when you create a window, you are handling messages.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  12. #12
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Well, when you create a window, you are handling messages.
    Only if you copy out of a book a program that handles messages. Just try not handling them. It still works.

    Valid Windows program:

    PHP Code:
    #include <windows.h>

    int WINAPI WinMain(HINSTANCE hThisInstanceHINSTANCE hPrevInstanceLPSTR lpszArgumentint nFunsterStil)
    {
        
    int response=6;
        while(
    response==6)
            
    response MessageBox (NULL"Would you like me to loop?" "This will repeat until you say select 'no'."MB_YESNO);
        return 
    0;

    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  13. #13
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    when you create a window you dont have to handle messages, just like justin says.

    message handling really isn't a core part of the windows game programming unless you have a windowed game, even then you don't have to do much.

    garfield: I'm glad you like the quote, i have to admit i had a good chuckle myself when i first saw it!

    cheers
    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. continuing program until ready to stop
    By jlmac2001 in forum C++ Programming
    Replies: 2
    Last Post: 01-19-2003, 07:19 PM
  2. Am i ready for openGL???
    By tetra in forum Game Programming
    Replies: 9
    Last Post: 01-14-2003, 05:19 AM
  3. trim string function (code)
    By ipe in forum C Programming
    Replies: 9
    Last Post: 01-06-2003, 12:28 AM
  4. Is Linux ready to enter the desktop market?
    By carrja99 in forum Tech Board
    Replies: 20
    Last Post: 11-04-2002, 01:11 AM
  5. Are you ready?
    By lostminds in forum Game Programming
    Replies: 6
    Last Post: 05-08-2002, 03:11 PM

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