feat: add sprite-sheet subsystem with sidebar tab integration#129
Open
silent-reader-cn wants to merge 3 commits into
Open
feat: add sprite-sheet subsystem with sidebar tab integration#129silent-reader-cn wants to merge 3 commits into
silent-reader-cn wants to merge 3 commits into
Conversation
- Add SpriteSheetExporter, SpriteSheetSettings, SpriteSheetUI - Add sprite-sheet.css with styling for settings panel and live preview - Add SceneEnvironmentManager for renderer lifecycle management - Integrate sprite-sheet into sidebar as a dedicated tab - Add animation 'All' checkbox for filtering by preview availability - Add sticky-bottom action buttons pattern for sidebar tabs - Add fill-width sidebar animation list - Update create.html, index.html with sprite-sheet HTML and panel - Add grid.svg icon for UI use - Update .gitignore to include logs/
silent-reader-cn
force-pushed
the
feat/sprite-sheet-overhaul
branch
from
July 7, 2026 13:12
614ca33 to
6113da1
Compare
Collaborator
|
I checked out the branch. This is going to need some discussion before it could ever get merged. There are a lot of user experience issues with this. One thing for example is that this application works with multiple animations being exported, and this feature only seems to support one at a time. This is also really an export feature. It shouldn't be done the same time you are selecting animations to use. |
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.
概述
添加 sprite sheet 子系统到侧栏,包括完整的设置面板、实时预览和导出功能。
变更内容
核心文件(新增)
src/lib/sprite-sheet/SpriteSheetExporter.ts— WebGL 渲染器导出精灵表为 PNGsrc/lib/sprite-sheet/SpriteSheetSettings.ts— 持久化配置(localStorage)src/lib/sprite-sheet/SpriteSheetUI.ts— 侧栏标签页 UIsrc/lib/sprite-sheet/sprite-sheet.css— 设置面板样式src/lib/SceneEnvironmentManager.ts— 渲染器生命周期管理server.cjs— 生产环境静态文件服务器修改文件
src/create.html/src/index.html— 侧栏标签页 HTML 结构src/lib/EventListeners.ts— sprite sheet 导出事件绑定src/lib/UI.ts— DOM 元素引用src/lib/processes/animations-listing/— 动画列表 UI 改进src/Mesh2MotionEngine.ts— SceneEnvironmentManager 集成src/styles.css— 侧栏通用样式功能特性
验证
npm run build通过