feat: add Smalruby original sprites (Shimaraby & Shimacat)#339
Merged
Conversation
Add two original Smalruby sprites to the sprite library with locally bundled costume assets, avoiding dependency on Scratch CDN. - Shimaraby: rabbit sprite with 2 costumes and Chirp sound - Shimacat: cat sprite with 2 costumes and Meow sound - Add WebStore in legacy-storage.ts for local smalruby assets - Costumes served from static/smalruby-assets/ via fallback store Closes #337 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
🚀 Preview deployed: https://smalruby.jp/smalruby3-editor/feature/smalruby-original-sprites/ |
Absolute path /static/... does not work on GitHub Pages subdirectory deployments. Use relative path (matching the music sound store pattern) to ensure assets resolve correctly in all environments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
scratch-storage's assetTool requires absolute URLs to load assets correctly. Use document.baseURI to construct absolute URLs from relative paths, ensuring compatibility with both dev server and GitHub Pages subdirectory deployments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update assetIds to match Scratch CDN hashes for faster loading. Assets are now served from Scratch CDN first, with local fallback. Also reorder sprites to proper alphabetical position in library. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add 4 costumes (Shimaraby-a/b, Shimacat-a/b) to the costume library so they can be added individually to any sprite. Also capitalize costume names in sprites.json for consistency with other sprites. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
github-actions Bot
pushed a commit
that referenced
this pull request
Mar 19, 2026
…uby-original-sprites feat: add Smalruby original sprites (Shimaraby & Shimacat)
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.
Summary
スモウルビーオリジナルのスプライト2体(Shimaraby, Shimacat)をスプライトライブラリとコスチュームライブラリに追加。
legacy-storage.tsに WebStore 追加(document.baseURIで絶対 URL 構築)Implementation Steps
Definition of Done
Closes #337
🤖 Generated with Claude Code