Thread: Starting 2D Game Programming...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    Starting 2D Game Programming...

    Hello all, i wanted to try to start programming some basic 2D games.

    I have a couple questions...

    Which API should i use? Direct3D, OpenGL, GDI... ?

    Secondly, does anyone have any good BASIC tutorials that can get me started or books that are really good?

    I know a little Win32 API and can get a window setup and all. Ill review my giant Win32 book again but i think that aspect isnt too bad. I just dont know how and where to start so any suggestions would be awesome!

    Thanks!
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  2. #2
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    Sorry wrong forum, perhaps a Mod could move it? Thanks and sorry
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  3. #3
    Programmer in Training TWIXMIX's Avatar
    Join Date
    Feb 2004
    Posts
    57
    Allegro is a simple choice if you want to begin with that.

    THere are some decent tutorials at http://www.loomsoft.net/resources/al...ltut_index.htm
    Learning C++
    Programmer in training

  4. #4
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    SDL is what I learned first, it makes it rather easy to start doing basic game programming.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    DirectX or OpenGL.

    Not Allegro, and not SDL. They are good for easing development of the final product, but they are not good for teaching core fundamentals.

  6. #6
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Even though my engine is using SDL (wouldn't be *that* hard to change it, I guess) I agree with Bubba. Be smart and use DirectX or OpenGL. That way, when you're ready to make the move to 3D you'll already be familiar with at least the basics of either of the good API's.

    'Course there's not much wrong with SDL unless you're looking for "special effects" which can be painfully slow, especially if there's lots of them in one scene.

    BASIC tutorials? Hmm.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  7. #7
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    968
    For OpenGL (what I've been developing my render engine in), I learned from nehe.gamedev.net
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  8. #8
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    If you have the money, check out the Beginning OpenGL Game Development book. And then when you get good at it, the more advanced book.

  9. #9
    Registered User ~Kyo~'s Avatar
    Join Date
    Jun 2004
    Posts
    320
    Allegro is good for a quick turn around but I program for fun not for money so quick gratifaction is good for me but I guess its not for everyone...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 23
    Last Post: 12-06-2008, 01:39 PM
  2. Shadows in OpenGL 2D game
    By MathFan in forum Game Programming
    Replies: 0
    Last Post: 07-13-2004, 03:03 AM
  3. 3d gfx in 2d game
    By lambs4 in forum Game Programming
    Replies: 13
    Last Post: 01-21-2003, 06:56 PM
  4. RPG 2d Game Map Editor?
    By drdroid in forum Game Programming
    Replies: 1
    Last Post: 01-08-2003, 01:17 PM
  5. starting my game (yes, the ultimate one)
    By Leeman_s in forum Game Programming
    Replies: 2
    Last Post: 10-02-2001, 09:44 AM