• Advertisement
Sign in to follow this  

2D map editor

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

I need a win32 map editor that exports a text file like this: int[] map = {{3, 4, 6, 1, 0, 0, 0, 2, 6} {4, 5, 5, 5, 8, 8, 0, 1, 6} ... ... {5, 5 ,5, 0, 0, 2, 3, 2, 2}}

Share this post


Link to post
Share on other sites
Advertisement
Hey,

while I don't know of any editor which exports in the format you described, perhaps you can use Mappy, it has a customizable file format as well as a file format reader library, so maybe this fits your needs.
Else, you could write the editor yourself (shouldn't be too hard). Perhaps this is a good moment to try out C#, if you haven't already?

Greets,
Konfu

Share this post


Link to post
Share on other sites
Also, I seem to recall that some compilers will choke if they're given an initialization list that's too large. If your maps start getting large enough, you'll run into this issue; Mappy is an option, but I'd recommend building your own even above that. (Use the file I/O functions, such as the ofstream/ifstream classes.)

Cheers,
Twilight Dragon

Share this post


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

  • Advertisement