tigrouind / WL1-Editor

A level editor for Super Mario Land 3 / WarioLand 1 (1993)
MIT License
21 stars 1 forks source link
gameboy hacking level-editor map-editor nintendo nintendo-gameboy retrogaming rom wario winforms

WLEditor

This a level editor for Super Mario Land 3 / WarioLand 1 (1993).

Features

How to use

Navigating through levels

Each level is made of 2 x 16 = 32 sectors.

Some sectors will warp player to another sector (or the exit) once a door is used. It will also load new tile graphics and enemies at the same time.

In the editor, near the sector number, a label S.. indicate if sector will warp player to another sector.

Middle-click on a sector to select it. If that sector is associated with a warp (usually there is a door in it), it will load related tiles and enemies. If you hold Shift or Control during click, it will select the first sector that targets the sector under mouse.

Editing level tiles

Editing objects (enemies / power-ups)

Available enemies depends of current sector / warp.

Key Description
Ctrl + Mouse wheel Zoom in / out.
Ctrl + C
Ctrl + V
Copy / paste tiles and enemies.
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Copy / paste

This is a powerful feature. Here is an overview of possibilities:

How to :

  1. Left-click on a tile, hold left mouse button and drag cursor to create a selection (eg: a 3x3 block). Release mouse button. A yellow rectangle should appear.
  2. Press Ctrl-C / Ctrl-X to copy / cut selection.
  3. Left-click somewhere else (eg: a 1x1 block is selected).
  4. Press Ctrl-V to paste selection at that position.

Tips :

Sectors / level header

Enemy sets specify which enemies will be loaded for a given warp (up to 6 enemies loaded). Some enemy sets are specific to some places (eg: boss or treasure room, ...).

Tips :

Treasure rooms

Treasure rooms have their own dedicated warps (one for each treasure, 15 in total). These warps are used during the transition between treasure totals screen and treasure room.

Warps that lead to an area with a key (or a skull) must use the enemy set with the letter corresponding to that treasure. Eg: if a warp leads to an area where there is a key for treasure J, an enemy set with the letter J must be used. When such a warp is loaded, if the treasure has already been collected, the game will automatically open the skull and remove the key.

Overworld / world maps

Editing map tiles

Key Description
Right-click in right side Select current tile.
Right-click in left side Add a new tile.
Ctrl + Mouse wheel Zoom in / out.
Ctrl + C
Ctrl + V
Copy / paste tiles (between left and right side or in left side).
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Tips : It's possible to edit tiles/map in an external tool (eg: YY-CHR, Tilemap Studio, ...) using the export/import functionality : Edit > Tile data.

Editing events

Events are used to update map tiles during gameplay, it's usually triggered after completing a level (eg: event 1 is triggered after completing first level, making a path to second level and so on).

Key Description
Page-Up
Page-Down
Select event.
Home
End
Select event step.
Right-click in left side Add event at current step.
Delete Delete event at current step.
Shift + Delete Delete all steps of current event.
Ctrl + C
Ctrl + V
Copy / paste events.
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Tips :

Editing paths

Key Description
Page-Up
Page-Down
Select a level.
Ctrl +
← ↓ →
Move current level. Position will be aligned on a 4 x 4 grid.

← ↓ →
Select a direction (N/S/E/W). Path in current direction is highlighted.
Shift +
← ↓ →
Add a new path segment in that direction.
Alt +
← ↓ →
Move overworld completion flag.
Delete Delete last path segment.
Shift + Delete Delete all paths in all directions.
M Change path mode. This will only be set for new paths.
Green = normal path.
Red = player won't be visible when walking on such paths.
Blue = underwater.
P Set progress required to take current path. A direction must be selected.
A number is shown near level to indicate progression required.
Nothing shown means no progress is required.
E Set end of path exit target.
O = Overworld.
S = Sherbet Land.
T = Mt Teapot.

Tips :

Progress

This table show which progress unlocked depending the completed level :

Progress Rice beach Mt. Tea Pot Sherbet Land Stove Canyon SS Tea Cup Parsely Woods Syrup Castle Overworld
1 1 1 1 1 1 1 1 1
2 2 2 2 2 2 2❕ 2❕ 2
3 3 2 🅰️ 2 🅰️ 3 3 3 3❕ 4
4 3 🅰️ 3 3 4 4 4 5
5 4 4 3 🅰️ 4 🅰️ 5 ⚑ 5 6
6 5 ⚑ 5 4 🅱️ 5 🅱️ 6 ⚑ 3
7 6 🅱️ 6❕ 5 🅱️ 6 ⚑
8 4 ⚑ 6 ⚑
Icon Description
🅰️ / 🅱️ secret exit / level
special event (huge [!] block)
boss / last level