2d Tiles Tutorial?

This is a discussion on 2d Tiles Tutorial? within the Game Programming forums, part of the General Programming Boards category; Ok, I've managed to create some games in basic console windows, and know some semi-advanced OpenGL, but another approach seems ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    27

    2d Tiles Tutorial?

    Ok, I've managed to create some games in basic console windows, and know some semi-advanced OpenGL, but another approach seems to be 2d Tiles.

    Does anybody know any tutorials that explain how to make tile-based stuff ? Cause OpenGL and DirectX do not seem to be able to do this >_>

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    I'm quite sure the best known API's are capable of doing an easy task. Try gamedev.net
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    1,197
    For 2D using opengl you want to look into glOrtho. There is also a tutorial at nehe.gamedev.net that shows how to setup OpenGL for 2D.

    Check this post out aswell: Super fast tile rendering/scrolling in D3D its directX but the theory or the principle is the same for OpenGL.
    Last edited by Shakti; 10-17-2006 at 03:49 PM.

  4. #4
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    >>and know some semi-advanced OpenGL

    Then you should know about using an orthographic view, how to draw quads, how to load textures. And depending on the types of games you have done already, boundary checking should be easy enough too.

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    And, "no" DirectX and OpenGL do not specifically support 2D tiles or anything for that matter. It's up to you the programmer to put all of the tools these API's give to you into your engine to perform different tasks. The less specific an API is, the more robust.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. text on 2d tiles in DirectX?
    By Quantum1024 in forum Game Programming
    Replies: 4
    Last Post: 04-26-2006, 11:40 PM
  2. My new website
    By joeprogrammer in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 03-17-2006, 06:38 PM
  3. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 08:40 PM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 01:49 PM
  5. My DirectInput tutorial....
    By jdinger in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-18-2002, 11:32 PM

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