(Ñ) by Vladimir Kladov, 2003
Starting from version 2.3, the Map Builder is added to the EmuZWin. This new function is aimed as a tool useful for quest games (e.g. Knight Lore), and allows to build visual map of the player walks and to make playing even easy. This description is written to allow start using new feature as soon as possible. Though obvious things may be avoided here, too (like how to show Map Builder window).
Note: if I do not say which mouse button is used for click, I mean LEFT mouse button, certainly.
Hand Mode - turns hand mode on/off. Hand mode is turned off initially to prevent too high resource consumption. Automatic mode works well, therefore, both in detection new room and its direction on the map from the previous room, but mistakes are still possible. Some game modes are not still handled so good (such as games with scroll, pop-up text, etc.)
Map style (Undeterminated / Flat / Isometric) - to define map building style. It is very good for automatic mode to select appropriate style. Undeterminated mode allows to place rooms almost arbitrary. Selecting flat or isometric style, placing new rooms or dragging it is restricted with correspondent grid alignment.
Mask frames - allows to create a mask for drawing and analising rooms. Masked part is not drawn on the map and mainly ignored while detecting room changes in automatic mode.
Fix Direction - allows to correct new room direction respectively to the previous one. It is useful when in automatic mode (or while adding the room manually) the direction was selected incorrectly for a new room. If Shift is not pressed, the room is moved together with all the rooms followed it. If Shift is pressed while fixing, only the room itself is moved.
Search Room - searches and makes "current" a room on the map, most like to the current screen. t is useful to set up current room at the start of the game or after loading the game on the existing map, and after teleportation in the map. Also can be effectively used in case when existing current room was detected incorrectly in automatic mode. This operation also applyed automatically when the current room is deleted (this is also useful to fix incorrect new room creation).
Add Room - Adds new room to the map. In the hand mode, this is the only way to add rooms to the map.
Delete Room - deletes selected room from the map. If the room deleted was the current, automatically "Search room" operation is called to find room most like to the current screen and to make it "current".
Undo - revert the last modification, such as "Clear map", "Delete room", "Delete Mark", move room or mark, rejoin line mark, "Add room" made manually. In the undo list maximum 50 last operations are stored, and the last several moves with the same set of objects are merged into single one.
Clear - clears all the map.
Open - load the map from a file (EZM).
Save - saves the map in EZM-file. If the emulator state is saved in the native EZX-format file, the map also is stored there, and after loading such state, it is loaded too.
Zoom In / Zoom Out - icrease/decrease scale (it is also possible to use mouse wheel, including rolling it over the main emulator window, when the map is shown).
Show Room Numbers - turns showing room numbers on/off (on by default).
Back / Forward - allows list (and select) rooms in number order back / forward.
Tools - turns on/off additional tool bar, which allows to maintain custom marks (text, image or lines with/without arrows).
Show markers -
turns showing custom marks on/off.
Text - Adds a text mark to the selected room, and allows to enter a text. When entering the text is finished (Enter pressed, or mouse clicked), the marked becomes usual graphic marker.
Grab Rectangle - adds a rectangle mark to the selected room and allows to grab rectangle region from the emulator window. First select upper left corner of the rectangle to grab and click, then select rectangle size and click the second time.
Grab Circle - like above, but a circle is grabbed. First select the center point in the emulator display, then select its radius and click the second time.
Line - draws a line without arrows. To join its second end point to another room RIGHT click on that room. Line width and color can be selected at any time.
Arrow Forward - the same as Line, but with an arrow on the second end point.
Arrow Back, Arrow Both - like Line and Arrow Forward, but different arrows are used.
Delete Mark - deletes selected custom mark.
Line Width - changes (and/or sets) line width for four commands above.
Color - changes (or/and sets) line color, or text mark background color (font color is selected inverted to a gioven).
Load Mark From Bitmap - replaces mark image by the image loaded from BMP-file (its size also is changed).
Save Mark As Bitmap - saves mark image as BMP-file.
Copy To Clipboard - obviuos.
Paste From Clipboard - obvious.
Editing map manually.
At every time only one object can be selected, either room or custom mark. Selected room is centered whenever possible. Selected room or custom mark is drawn using animated frame (ants), selected line is flashing. To reselect the current room, just click on a free space on the map (and on some distance from line marks if any). To select a room or graphic mark, just click it. If the same place is occupied by the several rooms or marks, the object is selected, which center is nearest to the point clicked. If centers are the same, an object most hidden (overlapped by others) is selected (and brought to the front).
To select a line click near its center, and it is better to click on the free space of the map, near the line.
A room or a mark can be moved just dragging it. If Flat or Isometric map style is selected, final destination is aligned to some (invisible) grid. Important: if Shift is not pressed while moving the room, all the rooms followed it are moved togethed with the room moved. With Shift pressed, only the room itself is moved (and its marks too).
Another way to move rooms: using Fix Direction command.
While moving rectangle or round marker, it stays linked with the owner room always. And if its owner room is moved, it is moved together with it.
Moving selected line via dragging it with the mouse also moves its source end point offset from the owner. The second endpoint is moved only in case when it also is linked to the same room. To link the second end point to another room, RIGHT click target room. If such room is not visible, Zoom Out map (and may be resize map window).
To-do list:
- Changing custom marks size
- Saving map or its part as bitmap
- Map with levels (floors), separate style "isometric with levels"
- Scrolled rooms (Quazatron, SuperH), overlapped rooms, pop-up text (Dizzy) recognision.
Better automatic recognision new room direction.
mailto: bonanzas@online.sinor.ru