Skip to content

Add flatten_layers tool#10

Merged
willibrandon merged 2 commits into
mainfrom
feature/flatten-layers
Oct 18, 2025
Merged

Add flatten_layers tool#10
willibrandon merged 2 commits into
mainfrom
feature/flatten-layers

Conversation

@willibrandon
Copy link
Copy Markdown
Owner

Fixes #9

Adds flatten_layers MCP tool to flatten all layers in a sprite into a single layer.

Changes:

  • New tool in pkg/tools/canvas.go using existing gen.FlattenLayers() Lua generator
  • Integration test verifies flattening 4 layers → 1 layer
  • Example demonstration in examples/client/main.go Step 17
  • Documentation updates in README.md, CLAUDE.md, and examples/README.md

Add tool to flatten all sprite layers into a single layer. Includes
integration test, example demonstration in client, and documentation
updates.
@willibrandon willibrandon self-assigned this Oct 18, 2025
@willibrandon willibrandon added the enhancement New feature or request label Oct 18, 2025
Document flatten_layers tool addition.
@willibrandon willibrandon merged commit 96e59ec into main Oct 18, 2025
2 checks passed
@willibrandon willibrandon deleted the feature/flatten-layers branch October 18, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add flatten_layers MCP tool

1 participant