CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    68

    Newbie writing a game...

    Hi,

    I am fairly experienced with C++, but I have never done anything with graphics, and I would like to start writing a game.

    My first attempt at a simple game used VisualStudio.NET, and I used Windows.Forms to display simple 2D graphics (using .NET graphics objects), and Windows.Forms.Buttons to introduce user input to the game.

    However, this is obviously a very simple prototyping way to develop a game, so I am wondering what the professional approach is to displaying graphics and creating buttons. I am looking into using OpenGL for some simple 2D graphics - would I use this to create buttons etc?

    Thanks.

  2. #2
    Join Date
    Mar 2010
    Posts
    1

    Re: Newbie writing a game...

    I've don't have a whole lot of experience with 2d stuff using C++, but I have created a few simple games.

    I chose to use SDL. You can find some very good tutorials on it here: http://www.lazyfoo.net/SDL_tutorials/index.php

    It covers setting up SDL aswell.

    Hope this helps.

  3. #3
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Newbie writing a game...

    You can play around with OpenGL for custom graphics and GUI packages for buttons and controls etc, but if what you're interested in is the game, I'd say just get yourself a game engine and go from there. It'll take care of the low-level stuff for you a lot better than you can yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured