Repository navigation
Arcane v0.25.1
Added
- Camera rounding control —
setCamera(x, y, zoom, { disableRounding: true })option to eliminate micro-adjustment artifacts in smooth camera follow, critical for jitter-free isometric games - Direction mapping helper —
mapScreenDirectionToSprite(moveX, moveY, options)with'screen-aligned'(WASD follows keyboard) and'grid-aligned'(isometric tile directions) modes; includesSpriteDirectionenum and utilities (directionName,oppositeDirection,rotateDirection) - Isometric game development guide — comprehensive
docs/isometric-games.mdcovering coordinate systems, camera patterns, depth sorting, tile sizing, complete working example, common pitfalls, and performance tips
Fixed
- MCP capture_frame file size — auto-downscaling algorithm ensures PNG output never exceeds 10MB; scales from 0.1x to 1.0x with stderr logging of actual reduction; prevents 20MB limit errors in Claude sessions
- capture_frame region support — HTTP and MCP parameter parsing for optional rectangular region (regionX, regionY, regionWidth, regionHeight) to isolate specific areas of the game
Install: `cargo install arcane-engine`