Feature/analyze heart gauge y0xhh#8
Open
NoelDavies wants to merge 89 commits into
Open
Conversation
Updating web source code to support the rewrite
Also renamed the handle functions to conform to on functions
Stunfisk's sprite showed there's no limit to how wide a sprite can be so now there's a max limit of 160px width
For shadow Pokémon (isShadow=true), replace the exp bar with a purple heart gauge bar using heartGaugePercentage from the proto data. The bar is segmented into 5 sections matching the in-game Colosseum/XD UI. Hidden for eggs, consistent #7B2FBE purple across all themes. Themes updated: bdsp-battle-style-hud, stick-it-down, twitch-plays-pokemon, jezzabel-personal. https://claude.ai/code/session_01VDoQr8irsUVMvT1jKHSV2Y
Move heart gauge template and logic into a shared component at _shared/components/heartGauge.vue.ts, following the same pattern as trimmedSprite. Each theme imports and registers the component, while CSS styling remains per-theme for full visual control. https://claude.ai/code/session_01VDoQr8irsUVMvT1jKHSV2Y
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.
For shadow Pokémon (isShadow=true), replace the exp bar with a purple heart gauge bar using heartGaugePercentage from the proto data. The bar
is segmented into 5 sections matching the in-game Colosseum/XD UI.
Notes:
Hidden for eggs, consistent #7B2FBE purple across all themes.
Themes updated: bdsp-battle-style-hud, stick-it-down,
twitch-plays-pokemon, jezzabel-personal, digital-hex.
Additional changes: