CharacterData module defines the structure for character appearance, animations, and behavior.
CharacterData Structure
Core Properties
String
required
Semantic version of the character data format (current:
1.0.1)String
required
Readable display name of the character
CharacterRenderType
default:"sparrow"
Rendering system to use:
"sparrow"- Single spritesheet with XML"packer"- Single spritesheet with TXT data"multisparrow"- Multiple spritesheets with XML"animateatlas"- Texture atlas with JSON (Adobe Animate)"multianimateatlas"- Multiple texture atlases"custom"- Custom rendering via scripts
String
required
Path to retrieve sprite assets (without extension)
Visual Properties
Float
default:"1.0"
Scale multiplier for the character sprite. Use smaller sprites with higher scale values (e.g., 6x) to save memory on pixel art
Array<Float>
default:"[0, 0]"
Global position offset as
[x, y] in pixelsArray<Float>
default:"[0, 0]"
Camera focus offset as
[x, y] when focusing on this characterBool
default:"false"
Set to
true to disable anti-aliasing for pixel art charactersBool
default:"false"
Whether to flip the entire sprite horizontally
Behavior Properties
Float
default:"1.0"
Frequency of idle animation in beats. Supports precision up to 0.25. Higher values make the character dance less often
Float
default:"8.0"
Minimum duration (in steps) a note animation plays. Too low causes idle between notes; too high causes overhang
String
default:"idle"
Name of the animation to play on spawn
Animations
Array<AnimationData>
required
Array of animation definitions with
name, prefix, offsets, frameIndices, etc. Each animation defines how character sprites are displayed.Health Icon
HealthIconData
Configuration for the character’s health icon
HealthIconData
String
Icon asset ID (defaults to character ID)
Float
default:"1.0"
Scale multiplier for the icon
Bool
default:"false"
Whether to flip the icon horizontally
Bool
default:"false"
Multiply scale by 6 and disable antialiasing
Array<Float>
default:"[0, 25]"
Icon offset as
[x, y] in pixelsDeath Configuration
DeathData
Configuration for death animation and camera behavior
DeathData
Array<Float>
default:"[0, 0]"
Camera offset as
[x, y] during death animation. Defaults to character’s graphic midpointFloat
default:"1.0"
Camera zoom multiplier during death (relative to stage’s default zoom)
Float
default:"0.0"
Delay in seconds between reaching 0 health and playing death animation
Animate Atlas Properties
These properties only apply whenrenderType is "animateatlas" or "multianimateatlas".
Bool
default:"false"
Whether to apply the stage matrix from Adobe Animate. Only enable if the character was pre-positioned in Animate
TextureAtlasData
Advanced texture atlas configuration
TextureAtlasData
Bool
Enable SWF-like behavior for MovieClip symbols
Bool
Cache filters and masks at load time instead of runtime
Int
Filter quality:
0 (HIGH), 1 (MEDIUM), 2 (LOW), 3 (RUDY)Bool
Override for
applyStageMatrix at the atlas levelBool
Render as single texture instead of multiple limbs. Enable for alpha changes or shaders
