Skip to main content

Module models

Module models 

Source
Expand description

Data models for Pixelsrc objects (palettes, sprites, etc.)

Structs§

Animation
An animation definition (Phase 3).
Attachment
An animation attachment for secondary motion (hair, capes, tails).
AttachmentKeyframe
Keyframe data for an attachment offset at a specific frame.
CollisionBox
A collision box (hit/hurt/collide/trigger region).
Composition
A composition that layers sprites onto a canvas.
CompositionLayer
A layer within a composition.
CssKeyframe
A CSS-style keyframe defining properties at a specific point in an animation.
FrameMetadata
Per-frame metadata for animations.
FrameTag
A frame tag for game engine integration - identifies named ranges of frames.
Keyframe
A single keyframe defining values at a specific frame.
NineSlice
Nine-slice region definition for scalable sprites.
Palette
A named palette defining color tokens.
PaletteCycle
A palette cycle definition for animating colors without changing frames.
Particle
A particle system definition (ATF-16)
ParticleEmitter
Particle emitter configuration (ATF-16)
PropertyKeyframes
Keyframes for a single property, either via expression or explicit values.
Sprite
A sprite definition.
SpriteMetadata
Sprite metadata for game engine integration.
TransformDef
A user-defined transform.
Variant
A variant is a palette-only modification of a base sprite.
VelocityRange
Velocity range for particle emitter (ATF-16)
Warning
A warning message from parsing/rendering.

Enums§

Duration
A duration value that can be either a raw millisecond number or a CSS time string.
Easing
Easing function for keyframe interpolation.
FollowMode
Motion follow mode for secondary motion attachments.
KeyframeSpec
Keyframe specification - array of keyframes or per-property expressions.
PaletteRef
Reference to a palette - either a named reference or inline definition.
TransformSpec
Transform specification - can be string or object in JSON.
TtpObject
A Pixelsrc object - Palette, Sprite, Variant, Composition, Animation, Particle, or Transform.
VarOr
A value that can be either a literal value or a CSS variable reference.