Mapeditor
Included in MGDK is a simple mapeditor that can be used to create maps (tiledlayers).
These maps can easily be loaded as resources in a MIDlet written using MGDK.
How to start
The mapeditor is written in standard Java, using J2SDK1.4.1. It is distributed as sourcecode,
so to run it you have to compile it. After compilation you start it by excuting java MapEditor
in the directory where you put the compiled files. You might be able to use javaw instead of java to get
rid of the consolewindow in windows. Summary:
- Compile
- Execute MapEditor (
java MapEditor
or javaw MapEditor
)
Features
The mapeditor is in no way finished, but it is working. There are not many features yet, this is about it:
- Create, load and save maps
- Load map tiles (images used to construct the map)
- Place tiles on the map
- Scroll the map (using mouse, keyboard and overview)
- Zoom in/out (both map and tiles)
Planned features:
- Some kind of projects
- Create and use brushes (rather than placing tiles one at the time)
- Layers (multiple maps)
- Better toolbars, with icons and more tools (like floodfill)
Usage
This is how you normally use the mapeditor:
- Create a new map (
Map->New map
or Ctrl-Shift-N
) or open a saved map (Map->Open map...
or Ctrl-O
).
- Load tiles, which are the images used to construct the map. You have to do this even if you opened the map, since tiles are not stored with the map (good if you want to use different tiles for different resolutions). (Select
Map->Load tiles...
or Ctrl-L
)
- Place tiles on map by clicking and scrolling around (using arrowkeys, clicking in the overview or pressing
Shift while
dragging the mouse)
- Save the map (
Map->Save
or Ctrl-S
)
Updated May 26 2003