I figure this is in a good enough state to let other people tinker with now, so here's the first version of my shiny new map editor! It's been written so I've got something to use to create levels for <a href="http://www.java-gaming.org/forums/index.php?topic=16899.0
">Rescue Squad</a>, but it's been written to be game-agnostic. It should be reasonably simple to use it for other games (although at the moment it might be a little restritive due to only really supporting point geometry).
">Website link</a></b>, with downloads, screenshots and an example project.
The example project is my project file for Rescue Squad maps, which is worth checking out as it'll give you something you can just load and have a play with. It also shows how little effort is required to customise it for a particular game.
- Please read the help files, the "getting started" section should cover the basics with a minimum of fuss (suggestions for improvement welcome!).
- Theres bound to be some bugs when people start pressing buttons in completely different orders to me. If you find any then stick a reply in here and I'll see about fixing it.
- It's still pretty early in it's development, so suggestions for improvements and additions are very welcome. I'm particularly after UI improvements/suggestions. And if you're writing a game that needs a map editor I'd like to hear suggestsions on must-have features for you particular project.
- Layers support. Each map can have as many layers as you want, each with individual grid sizes and snap settings. Add, remove and change the ordering of layers.
- Slick rendering. Map drawing is now done via Slick which means it's a lot faster and is properly double buffered.
- General ui polish and refinements.
- More complete rectangle support.
- Renaming of elements.
- Element groups. Elements can be categorised into different groups so it's easier to deal with large numbers of elements (eg. a group for all landscape tiles)
- Expanded rectangle element attributes to include line and fill colour.
- Rectangle instances in maps can now be resized with grab handles.
- General UI polish (mostly improved point and rectangle element creation dialogs).
- Polygon support. Right click a series of points to create and left click to finish. Select to edit and drag the control handles to add/remove points.
- Grid changed to proper grid drawing.
- Point elements can now have no image.
- Map renaming.
- General usability improvements.
- Map zoom
- Support for open polygons (polylines)
- Recent projects list in file menu
- Theres to be an odd 3-4 second pause the first time you resize the map window. It seems to be due to some kind of SWT/AWT bridge initialisation but I'm not sure how to eliminate it at the moment.