Skip to main content

Staff announcements

Dev Log #4 Animation

Animation System: Aseprite Pipeline & Paper-Doll Layering

Big animation update this week. The engine now has a full Aseprite-to-runtime pipeline for sprite animation, plus a major upgrade to the layered paper-doll system.

Aseprite Import Pipeline

The Animation Editor can now import Aseprite JSON exports directly. When you select one direction file, it auto-discovers sibling files (front/back/side variants), parses frame tags, detects hit-frame slices, and extracts per-frame durations. No more manual metadata entry.

New features in the editor:
> Color-coded direction lanes in the frame grid -- blue for down, green for up, yellow for side
> Hit frame badge UI with right-click toggle (H overlay on impact frames)
> Variable per-frame duration support throughout the entire pipeline
> Onion skinning -- previous and next frames shown at 30% alpha
> Keyboard shortcuts: Space = play/pause, Left/Right = step, H = toggle hit
> Mousewheel zoom in the slicer grid
> Frame info tooltips showing index, state, direction, duration, and hit status

Paper-Doll Layered Preview

The editor now has a 5-layer composite preview widget that renders the full paper-doll stack in real-time. You can toggle individual layers on and off, pick character class presets, and switch facing directions -- all while editing animation frames.

Under the hood, the PaperDollCatalog system got an important fix: frame clamping. Single-frame overlay textures (hair, armor) now safely render frame 0 while the multi-frame body sprite cycles through all animation frames. Previously, overlays would disappear on any frame past 0 because UV coordinates mapped past the texture bounds.

Content Pipeline Convention

Sprites now follow a standard directory layout:
assets/sprites/{class}/{class}_{layer}_{direction}.png

Each layer shares a single .meta.json sidecar file across all three directions. The runtime loader uses suffix-stripped fallback -- mage_body_front.png tries mage_body.meta.json automatically.

21 new test cases added (12 for the Aseprite importer, 9 for animation and duration handling).

-- Admin

Discussion (0)

No replies yet. Start the conversation.

Join the discussion

Log in to reply. Reading is open to everyone.

Upcoming mobile MMORPG · Play FateMMO: Awaken free in your browser