PrincessEdit is the level editor for Nova the Squirrel.
Controls
- 1: Switch to BG layer
- 2: Switch to sprite layer
- 3: Switch to control layer
- wasd: Scroll
- E: Select a new block type to insert
- F: Edit object configuration
- X: Horizontal flip
- Y: Vertical flip
- Left click: Select an object
- Right click: Copy selected object
- Ctrl+S: Save level
- Ctrl+X: Export level for use in the game
Object config
Some object types take extra configuration. Sprites take a 4-bit integer and out it in a state variable when they're spawned. Background objects are different:
- PRIZE: Prize contents
- SIGNPOST: Name of dialog to run
- DOOR: Read the teleport section
Control layer
- PLAYER_START_L / PLAYER_START_R: Player start location
- COLUMN_DATA: Inserts a config byte at the given column
- COLUMN_POINTER: Inserts a config pointer at a given column
- BACKGROUND: Creates a background from here until the next background change. Takes a background type, right now just accepting
CLOUDS
- SCROLL_LOCK: Placed on the last column of a screen. Prevents the player from scrolling past it.
- TELEPORT: Puts teleport information in the config data for the column
- LINK_TOP: Links this screen's top edge to a given other relative screen number
- LINK_BOTTOM: Links this screen's bottom edge to a given other relative screen number
Teleports
A-B: For doors only, writing Name1-Name2 and Name2-Name1 on two doors links them together. 2 bytes.
X,Y: X and Y position. 2 bytes.
X,Y,Level: X and Y position, and level. 3 bytes.
LevelName: Links to another level map. 2 bytes.
*ScriptName: Runs a dialog script instead of teleporting. 3 bytes.