Repository navigation
6. Character Editor
The Character Editor in Nightmare Vision has been rebuilt from the ground up while carrying over some basic principles from its psych predecessor. The editor allows you to create new characters, or tweak existing ones by changing their animation offsets, camera positions, scale, etc.
You can access the editor via the Master Editor Menu or by pressing 8 in a song.
| Item | Description |
|---|---|
| 1. Toolbar | Has your save, load, and refresh character buttons, as well as the character list dropdown and ghost settings. For more information, see Toolbar (Cont.). |
| 2. Character Info | Houses three tabs: Animation, Character, and Extra. This is where you can edit a character's position, scale, health icon, health color, and other stats. |
| 3. Animation List | Lists the character's animations along with their corresponding offsets to the left of the animation's name. |
| 4. Misc Info Panel | Displays the current camera zoom in the editor and the current animation frame. |
| 5. Workspace | The main editor view where you can see your character's animations. You can pan, zoom, or move the character directly. |
From left to right:
| Item | Description |
|---|---|
| Options | Displays the options context menu with the options to enable a simple character bounding box or exit the editor. |
| Help | Displays a simple help dialogue with helpful tips. |
| Bg View | Allows you to select from different background options (Week 1 stage, grid, or a solid color background) |
| Ghost Settings | Allows you to create a ghost of the currently select animation. Helpful when needing to precisely offset a character. |
| Refresh Character | Reloads the character from the currently saved json. Will erase any unsaved changes. |
| Load Template | Loads a template character. Will erase any unsaved changes. |
| Save Character | Saves the currently loaded character as a .json file. |
| Playable? | Checkbox used to indicate if the character is a playable character and flips the character's sprite and offsets vertically respectively. |
| Character Dropdown | A list of all currently loaded characters. |
The Animation tab allows you to add/remove animations from a character and edit how and animation is played. The animation dropwdown lets you pick an existing animation to load it into the editor and edit its properties.
-
Animation Name: The name of the animation the game uses to play the anim (e.g.,
singLEFT,singRIGHT, etc). -
XML/TXT Animation Prefix: The name of the animation inside the XML for spritesheets or
animation.jsonfor atlases (e.g.,Dad idle dance,Dad Sing Note DOWN, etc) - Animation Indicies: An optional field used to specifically define what frames of an animation should play and in what order.
- Framerate Stepper: Changes the framerate of the selected animation.
- "Should it loop?" Checkbox: If the animation should loop instead of stopping or being interrupted by a beat hit. Usually used for idle animations
- Flip X: Flips the selected animation on the X axis.
- Flip Y: Flips the selected animation on the Y axis.
The Character tab contains many important character properties like the image file path, scale, offsets, etc.
-
Image File Name: The file path to the character's sprite (e.g.,
characters/DADDY_DEAREST). -
Health Icon File Name: The name of the icon (e.g.,
dad,bf,gf,face)
- Flip X: Flips the entire character on the X axis.
- Antialiasing: Controls whether antialiasing is enabled for the character.
- Scaled Offsets: Whether offsets should change with the character's scale.
- VSlice Sustains: Whether the character should hold their sing animation during a sustain note like in base game.
- Ghosts Enabled: Whether the character creates a ghost when hitting a chord.
- Scale: Controls the scale of the character
- Character X and Y: The character's X and Y offset
- Camera X and Y: The camera's X and Y offset
- Sign Length: How long the character should hold their pose when hitting a single note.
- Dance Every: On what beat to play the idle animation (Ever two, every three, every four, etc)
- Reload Image: Reloads the character's sprite from the file path in the editor.
- Get Icon Color: Picks the most abundant color in the defined icon.
- Health Bar Color: Displays a color picker to precisely pick the icon color.
wip
wip
A sparrow character (standard spritesheet) should include an image file with an accompaning XML file in the same directory (e.g., images/characters/myCharacter.png & myCharacter.xml)
An atlas character (BTA atlases) should include an animation.json, spritemap1.json, and spritemap1.png file all in the same directory inside the images/characters folder.
Multisparrow and multiatlas follow similar rules. Provide both file paths and join with with a comma (e.g., images/characters/myChar-1,images/characters/myChar-2)
wip
wip
wip
wip
wip
If there are any questions you have that may not be answered across this wiki, please contact @Duskiewhy on discord / twitter.