Skip to content

Arcane v0.25.1

Choose a tag to compare

@jsvd jsvd released this 01 Mar 23:41
· 17 commits to main since this release

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; includes SpriteDirection enum and utilities (directionName, oppositeDirection, rotateDirection)
  • Isometric game development guide — comprehensive docs/isometric-games.md covering 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`