Introducing myself and a few questions..

This is a discussion on Introducing myself and a few questions.. within the Game Programming forums, part of the General Programming Boards category; Hi Everyone! I'm here to learn game programming not necessarily to and I'm learning C++ on my own. I learned ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    3

    Introducing myself and a few questions..

    Hi Everyone!

    I'm here to learn game programming not necessarily to and I'm learning C++ on my own. I learned some Java in college, but I'd like to take some of the concepts I learned in college and apply it to something a bit more.. er.. fun.

    My interests are in either the OpenSource/Chinese game consoles (Dingoo A320, Caanoo) or older gaming systems (Dreamcast). I run Fedora Linux, which is my operating system of choice. I'm not really interested in using SDL, although OpenGL is pretty interesting to me.

    So.. Here's where I'm at right now...

    I'm thinking a good place to start in building an engine would be to create a function that would take in input from the keyboard.. The problem with this that I'm seeing is the following..

    1.) most of the code that I think about creating, whether using a while/switch statement or an infinite for loop with an additional break enclosed in an if/then statement, only takes in one character at a time.. Is there a way that I can take in more than one character at a time? or would I count on something like a getche() statement and just hope that it catches the other key pressed?

    2.) would I want to place something like this in a class (meaning a separate class .cpp file)? or would I want this as a function in the main file?

    thanks! I hope to be around a lot more in the future!

  2. #2
    Registered User
    Join Date
    Mar 2011
    Posts
    3
    Just a note.. I want to build a 2d side scrolling engine. Not a 3d engine.. lol

  3. #3
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    I think you need to hit the books and learn more about coding in C/C++ before attempting to do much more. Baby steps...

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    3
    OK.. Will do!

    Thanks!

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