Jump to content
  • Advertisement
Sign in to follow this  

Applying a 2d map to a game

This topic is 4861 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Okay, here is the problem. I have tried almost every resource that I have to figure this out. I will probably wack myself in the head for this after I ask, but here it goes. I have rendered in graphics for Visual c++ games, but this time I want to use a map editor to apply a tile map to a 2d game. This time I am hard coding a new game without the help of Visual C++ to eliminate MicroSlobs (sorry about the term, but they do gum up the works) unwanted "Garbage". So I am hard coding a new game. I have created a tile map (bmp files) using mappy. The tiles are 2d...16x16 tiles. I want to apply this map to basically a window on the "Dashboard" (in case anyone has questions on what this is... it is the main game screen) The question is How would I export a map from lets say Mappy. and apply it to code in the game. 1) would this be exported as a .dat file? 2) What would the raw C++ code be apply the Map file to the game map?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!