Playable Character From Scratch¶
Build a playable character from your own sprites.
Goal¶
Create a new fighter, import sprites, build animations, tune combat boxes, and test the character in-game.
Prerequisites¶
- A source mod under
Editor. - Character sprites as
PNGfiles or an animatedGIF. - A plan for the character's core moves: idle, walk, jump, basic attacks, special attacks, grabs, being hit, knockdown, and death.
Steps¶
- Open the mod in the in-game editor menu.
- Launch the Character Editor.
- Drop the mod folder into the Character Editor if prompted.
- Choose Mod mode and the Players filter.
- Choose Create New or drop your first sprite set into the editor.
- Name the character.
- Import all sprite frames into the character.
- Create the required animations and assign frames to each animation.
- Set pivots so the character's feet stay planted across idle, walk, attack, and hit reactions.
- Add body boxes for vulnerable frames.
- Add hitboxes for active attack frames.
- Add throw offsets, grab offsets, weapon points, projectile points, sound events, or scripts where the move needs them.
- Add a portrait and preview image if the editor does not generate the result you want.
- Save the character.
Testing¶
Test the character in a simple level before building the whole move set.
- Confirm the character appears on character select.
- Check idle, walk, jump, attack, hit, knockdown, and death animations.
- Verify that attacks connect only on the intended frames.
- Verify the character can be hit and grabbed.
- Test facing left and right.
- Test with two players if the character can be selected in multiplayer.
Common problems¶
- Floating feet usually mean pivots are inconsistent between frames.
- Attacks hitting too early or too late usually mean the hitbox is on the wrong frame.
- A character that cannot be hit usually has missing or misplaced body boxes.
- Throw glitches usually need grab offsets and release offsets tuned on both facing directions.
Links¶
- Asset Requirements
- The Character Editor Workspace - panels, preview controls, and shortcuts
- The Inspector - every setting and what it means
- Character Editor Reference
- Behaviour Modes
- Lua API Reference