Add selectable character pack system#11
Open
keith-oak wants to merge 1 commit intoryanstephen:mainfrom
Open
Conversation
Introduce a CharacterPack model that extracts character configuration into declarative data structures, following the existing PopoverTheme pattern. Bruce & Jazz remain the default pack. A new "Droids" pack (R2-Do2, C-3POa, BB-Gr8) is available as an opt-in alternative. - New CharacterPack.swift with CharacterConfig and CharacterPack structs - Each pack defines: characters, timing, colours, phrases, onboarding text - "Characters" submenu in menu bar for switching packs at runtime - Selection persisted via UserDefaults - Dynamic character toggle items adapt to current pack - Includes pixel art HEVC-with-alpha walking animations for three droids
|
Would love to see a "Clippy & Co." back here too! |
|
oh man please merge this @ryanstephen |
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
CharacterPackmodel following the existingPopoverThemepattern — struct with static presets,allPacksarray,static var current, menu switching by index tagselectedCharacterPackkey)Changes
CharacterPack.swiftLilAgentsController.swiftloadCharacters(from:)factory +switchPack(_:)WalkerCharacter.swiftapplyConfig(_:), phrases now read from current packLilAgentsApp.swifttoggleCharactermethodproject.pbxprojwalk-r2d2-01.movwalk-c3po-01.movwalk-bb8-01.movTest plan