Repository navigation
feat(ui-plugins): add Sprite Animation Pack (sprite-animation-pack) - #232
Open
ppppp2005-p wants to merge 12 commits into
Open
ppppp2005-p wants to merge 12 commits into
ppppp2005-p wants to merge 12 commits into
Conversation
Author
|
ZCode desktop demo (ZCode 4.0.0, macOS arm64) sprite-animation-pack-demo.mp4Flow shown:
演示流程:本地 marketplace 安装 → |
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
…oject through symlinks
…oject through symlinks
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
sprite-animation-pack(UI Plugin, new)What / 改动内容
New community UI plugin Sprite Animation Pack / 游戏角色动作包: character frames (PNG folder or sprite sheet) → aligned, timed animation pack for Phaser, Godot and Unity.
sprite_open:.sprites.jsonproject.sprite_save.sprite_export: atlas PNG, Aseprite-format JSON with frameTags and durations, Godot 4 SpriteFrames.tres, Unity grid-slicing notes with the pivot and rects, Phaser snippet, project.atlas_preview,workspace_files.feet: horizontal centre of mass, lowest pixel.keep: original canvas position, picked automatically for same-size padded canvases so jumps are kept.center.Network / API / side effects: local stdio MCP server; no network, no API keys, no hooks. Writes only
sprites/<name>/in the workspace.Third-party: pngjs (MIT), jpeg-js (BSD-3-Clause), MCP SDK / ext-apps (MIT), zod (MIT).
Tests:
.tresregions/speed/loop and the Unity notes.keeppreserving a 4 px jump vsfeetflattening it..treschecked; agent then opens the sheet with a grid.validate.py,build_dist.py,git diff --check,oxlintandtscpass.A ZCode Desktop demo recording is attached in the comments. / ZCode 桌面版演示录屏见评论。
Self-check / 自查清单
external_plugins/<name>/categoryis set (productivity)version0.1.0 in bothplugin.jsonandmarketplace.jsonREADME.md(EN) andREADME_CN.md(中文) both provided and equivalentdescription_i18nhas bothenandzh-CNpython3 scripts/validate.pyandpython3 scripts/build_dist.pypass locally