2D game map

This is a discussion on 2D game map within the C++ Programming forums, part of the General Programming Boards category; How can I make a map for a 2D game? Like if Im making a stupid old mario jumping game. ...

  1. #1
    Pawn, Pascal and C++
    Join Date
    Sep 2005
    Posts
    90

    Exclamation 2D game map

    How can I make a map for a 2D game?
    Like if Im making a stupid old mario jumping game.
    What program do you use to make those maps?

  2. #2
    1479
    Join Date
    Aug 2003
    Posts
    253
    Use an api such as win32, DirectX or OpenGL...there are a lot more api's these are just the more common ones.
    Knowledge is power and I want it all

    -0RealityFusion0-

  3. #3
    Pawn, Pascal and C++
    Join Date
    Sep 2005
    Posts
    90
    Yes I know the types, Im looking for programs to make the actuall maps.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    176
    maybe they would be more help on the game board
    If a mime dies in the woods and no one is around to hear it, does it make a sound?

  5. #5
    Registered User
    Join Date
    Oct 2005
    Posts
    16
    Make a map editor for your game Or load data from text files.. that is how I've always done it but I don't make many games.

  6. #6
    Pawn, Pascal and C++
    Join Date
    Sep 2005
    Posts
    90
    Im pretty new and its hard enough to make a game for me.
    Dont wanna begin on a map editor too hehe.

  7. #7
    Registered Loser nickodonnell's Avatar
    Join Date
    Sep 2005
    Location
    United States
    Posts
    33
    Well if you're pretty new, I'd suggest familiarizing yourself with the language throuroughly first (which... you've probably heard before, right?). I'm new as well, and the only time I think about making games are just basic ones to test what I'm learning right now. Don't just dive into gamemaking, because I've heard it's a little harder than whatcha think.
    ------------------------------------------------
    cout<<"Hello World!\n";
    ------------------------------------------------

  8. #8
    Pawn, Pascal and C++
    Join Date
    Sep 2005
    Posts
    90
    Yes, its just a basic noob game.

  9. #9
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Jumping into a text game would be fine... even though thats hard enough for some people, but dont jump into 2D game programming. You cant. You have to learn a 2D API first, where you import .bmp files, and learn all the commands to go with that.

    When you've learned C++, move onto OpenGL, DirectX, or Allegro and read tutorials on that library, once learned start to apply your knowledge to a game.

    Just a note that 3D game programming is not necessarily harder than 2D. They both have different aspects of hardness. I would classify 3D as more clear, more to do with rotations, coords, of course, and 2D to do with tons of .bmp files and coords.

    As for the map, you can make one with the API you use, and if you want you could make a map editor, or just make the maps and store them in files. As for using a premade visual program.. it wouldnt be easier than making your own because you would have to adapt to the format that map is outputting.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  10. #10
    Registered User LiNeAr's Avatar
    Join Date
    Aug 2005
    Posts
    31
    Quote Originally Posted by XunTric
    Yes, its just a basic noob game.
    That doesn't matter....A basic noob game requires a lot more work than you think. This is the main problem, people don't realize how much effort and knowledge it takes to make even the most simplest of games. So I would suggest planning EVERYTHING out so you don't confuse yourself. Maybe even make some pseudo-code to help out with the coding. When you say you want to make a map for "a stupid old mario game".... that requires a lot of work there are so many aspects to take into consideration. Just keep that in mind.
    IDE: Microsoft Visual C++ .net Standard 2003

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting 2D Game Programming...
    By Junior89 in forum Game Programming
    Replies: 8
    Last Post: 06-20-2006, 09:47 PM
  2. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 07:58 PM
  3. OpenGL - 2d text in 3d game
    By mikeb1986 in forum C++ Programming
    Replies: 1
    Last Post: 03-22-2006, 01:24 PM
  4. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  5. how to make a racing 2d game
    By juandy in forum Game Programming
    Replies: 3
    Last Post: 10-28-2001, 09:47 PM

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