Jump to content
  • Advertisement
Sign in to follow this  
eraser_iresa

Mapping

This topic is 4346 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

Right now I'm trying to make a map, but don't know which way is the best to do it. In professional MMORPG making, how do programmers represent the game map? I hope it is not just by 1's and 0's inside a text file right? I thought about use a black and white picture, where black = no move (a wall), and white = no friction (walking on road)... grey means it is somewhat slower (for example walking on sand or grass) is this the professional way to do it? or if not, can i take some ideas from everyone? thanks!

Share this post


Link to post
Share on other sites
Advertisement
I think its better to make some kind of map editor where you can make this kind of modification and save map in supported format.

Share this post


Link to post
Share on other sites
Professional game developers don't make or store maps in any one particular format. A map file is one of those things that is highly variable and is best suited to being customized specifically for the problem at hand.

To that end, you should design and implement you map file with the same goals in mind: solve the problem as best you can. If all you need to represent in the map is whether or not an area is traversable and the speed at which is can be traversed, then an image like you suggested would be fine.

For what it is worth, however, the map formats used by commericial games tend to be rather more complex than that.

Quote:

I think its better to make some kind of map editor where you can make this kind of modification and save map in supported format.


That depends on how complex the map format will ultimately be. If it isn't going to be more than an image (as in the OPs example, or a heightmap) there is precious little reason to waste extra time implementing what is essentially a limited painting program. If the format will be complex, of course, then it is a different story.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!