Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411430 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 19, 2024, 06:52:21 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperArt (Moderator: JWK5)Map Editor?
Pages: [1]
Print
Author Topic: Map Editor?  (Read 4431 times)
bengrue
Level 0
***


I code. A lot.


View Profile WWW
« on: August 22, 2008, 03:02:32 AM »

Hey all,

I was wondering what tools you guys preferred when making 2d map resources.  I've run through a few (Mappy, Tiled) briefly while trying to scope something for a one-off project I just started, but Mappy didn't seem to be easy to write loaders/savers for, and Tiled seemed really, really unresponsive.

Anyways, I'm looking for options and/or opinions on why I'm wrong about the above two.

(Also: hi!)
Logged

Current Project: Sully: A Very Serious RPG

Executive Producer of Dungeons of Dredmor

@bengrue on the twitternets
muku
Level 10
*****


View Profile
« Reply #1 on: August 22, 2008, 03:18:26 AM »

I haven't used any of these, but you might also want to try Tile Studio if you haven't so far.
Logged
Ragzouken
Level 0
***



View Profile WWW
« Reply #2 on: August 22, 2008, 03:19:25 AM »

I guess I've never really done anything substantial, but usually I'd just write my own editor based off of the map rendering code of the game. I suppose using a third party editor will save a lot of work though, if it's got good documentation on how to load maps in-game. I've never tried Mappy or Tiled.
Logged

lordmetroid
Level 0
***


View Profile
« Reply #3 on: August 22, 2008, 07:41:26 AM »

My own, it happens pretty automaticly, the map editor isn't much more than the engine going to be used in game with some additional layers of editing and saving capabilities.
Logged
Bad Sector
Level 3
***


View Profile WWW
« Reply #4 on: August 22, 2008, 02:37:19 PM »

During the last two-or-three-ormaybe-four years, i made Slashstone Mapas a tile editor. Of course it didn't took me FOUR (or three or maybe two) years to make, i just only add functionality now and then (with multimonthly gaps between).

In any case it loads and saves maps in a text based tree format, similar to XML but using curly braces instead of <foo></foo> (its somewhat similar to what the Quake engines use). You'll find loaders in C/C++ and Java for the format in the site (but writing a custom parser is easy too). Personally i never use that format in a game though, i write a tool that parses the file and produces a binary file with the map(s) with only the information i need.

Note that the program is not available in binary form because i'm lazy. You need to build it yourself.
Logged

~bs~
moi
Level 10
*****


DILF SANTA


View Profile WWW
« Reply #5 on: August 22, 2008, 04:30:03 PM »

Someone should make a tile editor where you can edit a menu or an ini file in order to set up the way the data is saved.
The problem with map editors is that each one of them saves in its own format, and generally every game engine uses its own format (in my own game engine, I change the format between games).
Logged

subsystems   subsystems   subsystems
ஒழுக்கின்மை (Paul Eres)
Level 10
*****


Also known as रिंकू.


View Profile WWW
« Reply #6 on: August 22, 2008, 04:37:46 PM »

I create level editors for my games, I don't use third-party ones, I imagine it's less flexible to do that, although it might be intersting to look at them to get ideas for what to add to mine.
Logged

bengrue
Level 0
***


I code. A lot.


View Profile WWW
« Reply #7 on: August 22, 2008, 08:20:56 PM »

While I generally endorse the "build your mapeditor in" deal where applicable, sometimes it's just not viable.

In this specific example I'd hate to edit levels on an iPhone. 

But as a seperate example it'd be tremendously annoying to edit resources in a complicated many-layered game with various layer parallaxes and the such.  At that point you'd be investing a lot of time into UI infrastructure for your custom editor, and that's something I'd like to avoid.
Logged

Current Project: Sully: A Very Serious RPG

Executive Producer of Dungeons of Dredmor

@bengrue on the twitternets
ஒழுக்கின்மை (Paul Eres)
Level 10
*****


Also known as रिंकू.


View Profile WWW
« Reply #8 on: August 22, 2008, 08:34:37 PM »

In my experience the time is worth it. Even if it takes a month or two alone to create the editor, it'll save time in the long run.

Besides, the UI can be very, very basic. Here are some pictures for the level editors I've created for my last two games:

http://pics.livejournal.com/rinku/pic/000shs5k
http://pics.livejournal.com/rinku/pic/000sg9qg

Very very basic IU, but they saved and are saving me a lot of time. And they're potentially nice features for players to make custom levels with too.
Logged

Alec
Level 10
*****



View Profile WWW
« Reply #9 on: August 22, 2008, 10:34:09 PM »

Is there a target release date for "Saturated" yet?  Kiss
Logged

ஒழுக்கின்மை (Paul Eres)
Level 10
*****


Also known as रिंकू.


View Profile WWW
« Reply #10 on: August 23, 2008, 04:46:09 AM »

It's been pushed forward a few times so I'm not sure how reliable it is. Currently it's "sometime in 2009" Embarrassed

The music, basic engine, and overall design are virtually done, but the graphics resources, writing, creature behavior programming, and maps are still only about 5%-15% done each.
Logged

Farbs
Man
Level 10
*


/Farbs


View Profile WWW
« Reply #11 on: August 23, 2008, 06:13:17 AM »

I guess it's all down to what kind of game you want to make.
If you're planning to churn out a lot of levels then a good editor is important, but if you're just using a few levels to show your ideas then it might be better not to bother.

In ROM CHECK FAIL I used a single text file for all my level data. It looks a bit like a nethack screenshot Smiley
Pro: Can use standard text editors like notepad, dead easy to import into engine, cost almost no development time
Con: Not much fun to edit

For Polychromatic Funk Monkey I used a combination of hardcoding in the game source (for the starting zone) and a variety of automatic level generation processes.
Pro: Zero implementation time, some replayability (which is okay for players, but brilliant for keeping playtesting interesting)
Con: Again, not much fun to edit. Also the automatically generated area could occasionally be unsolvable or un-fun, and eventually feels samey.
Logged
ஒழுக்கின்மை (Paul Eres)
Level 10
*****


Also known as रिंकू.


View Profile WWW
« Reply #12 on: August 23, 2008, 06:32:43 AM »

I agree with that. If you're making less than 10 levels or so it's probably better to hard-code them, it'd save time -- I did that for the smaller games I've made. So my advice to make a level editor specific to each game only really applies to large projects.

It also probably varies by genre -- a level editor wouldn't make much sense in a fighting game (although a character editor might).
Logged

jonny
Level 0
**



View Profile WWW
« Reply #13 on: August 23, 2008, 08:47:48 AM »

I've always created my own tools, however I don't have a very good track for finishing projects and that's usually because I'm pretty stubborn about reinventing as many wheels as I can, even if they end up being rather square wheels.
Logged
Craig Stern
Level 10
*****


I'm not actually all that stern.


View Profile WWW
« Reply #14 on: August 24, 2008, 09:15:12 AM »

I've started making my own map editors as well, though you don't really have much choice about it if you work in Flash like I do.
Logged

Bad Sector
Level 3
***


View Profile WWW
« Reply #15 on: August 24, 2008, 11:14:21 AM »

I use Mapas for Flash too :-).
But i convert the maps to another format (actually i convert them to integer arrays which i include in the source code).
Logged

~bs~
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic