2D Tile Based Game

This is a discussion on 2D Tile Based Game within the Game Programming forums, part of the General Programming Boards category; Yay. Now these kind of games seem to be very outdated etc etc but I'm venturing into game programming for ...

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    2D Tile Based Game

    Yay.

    Now these kind of games seem to be very outdated etc etc but I'm venturing into game programming for the first time, so I need something to get started with.

    Just looking for some tips etc to send me on my merry way. Anything I should out for? Anything I should use / not use?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Ok. Because I want to, I've decided I'd like to use OpenGL for this 2D tile based game. Sick, isn't it.

    I just need to know: are there any tutorials for 2d programming with opengl? I googled '2d opengl tutorial' but that turned up very few useful sites.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    your not gonna find to many tutorials... just set GL to render in ortho, and use polygons for the tiles...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Everything after the first ellipses ('...') in that sentance made no sense to me what so ever. Well except for render, polygons and tiles, so that leaves ortho. Hmm, an ominous phrase to say the least.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    Read up on any OGL tutorial and they'll tell you how to set up the rendering context (which is where all the drawing goes on) and they will probably explain some of the different "modes" you can be in (ortho being one of them).

    A quick explanation: glOrtho will tell openGL to use a different matrix to alter your transforms, causing geometry drawn far on the Z to appear just as large as geometry close to the origin.

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    You would best be reading tutorials about general Tile Rendering than OpenGL specific. They are two different things. If this is your first jump into game programming then I suggest doing some OpenGL (or an alternative) tutorials and then later you can learn how to render some tile maps.

  7. #7
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Ok I think that would be best too. Thanks for your help guys.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. text based mmo type game.....
    By SONAR in forum Game Programming
    Replies: 0
    Last Post: 12-09-2008, 05:17 AM
  2. making a text based game
    By MisterSako in forum C++ Programming
    Replies: 1
    Last Post: 12-05-2004, 01:20 PM
  3. Creating Shell based game..Few questions
    By Saintdog in forum Game Programming
    Replies: 1
    Last Post: 12-01-2004, 08:14 PM
  4. 2d non tile based
    By DavidP in forum Game Programming
    Replies: 4
    Last Post: 02-01-2002, 12:51 PM
  5. tile based gaming
    By Unregistered in forum Game Programming
    Replies: 3
    Last Post: 10-27-2001, 01:17 PM

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