Repository navigation
feat(mascot): layer motion and whole outfits (3.1) - #537
Merged
Merged
Conversation
…h layers, layers in mascotSvg Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxyFACHFELih2HG5WC
Member
Author
|
The visual check flagged 3 shots on Generated by Claude Code |
…motion # Conflicts: # CHANGELOG.md
lorant-one
changed the base branch from
feat/3-0-breaking-cleanup
to
preview
November 23, 2026 20:50
lorant-one
pushed a commit
that referenced
this pull request
Nov 23, 2026
…e ai spec and bundle sizes Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyt8cmi6vMFxx22cgU
27 tasks done
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.
Requested by Lorant · project thread
This is step 3 of the mascot levels plan. Studio's wardrobe (on the
progressionswitch) dresses each mascot in layers, and this PR gives core what it needs to show those outfits in every app. It's for 3.1 and listed under the 3.1.0 section of the changelog, so it should be merged into the 3.0 branch only after 3.0.0 ships.What changes
motiononMascotIdentityLayer:float,bob,sway,spin,pulseorflicker. A layer can also take anorigin("x y"in the 200 × 200 box) that it turns or grows around.transformstays in place.prefers-reduced-motion.parseMascotDesignkeeps known motions and valid origins, and drops anything else.accessoryreplaced thelayers; now both show, with the layers drawn over the built-ins. This is a behaviour change only for code that passes both.mascotSvgtakeslayersand draws them as a still image. That way a saved look renders the same in an OG image, an email or the Discord/levelcard (step 4).MASCOT_LAYER_MOTIONSandMascotLayerMotion.Checked
vitest run src/__tests__/mascot*: 86 pass, including 5 new tests. They cover motion parsing, the 48-layer cap, the motion group and its origin, built-ins drawn with layers, and the still output frommascotSvg.tschas no errors, and biome is clean on the changed files.Generated by Claude Code