feat: Add Main Menu, Character Selection, and Pause Menu#262
Merged
Conversation
…ctionality - Add main menu scene with Start Game, Settings, Credits buttons - Implement character selection modal with glowing hover effects - Implement in-game pause menu accessible via ESC key - Fix player sprite to correctly use selected character on spawn - Add character persistence via localStorage - Update start.js to apply selected character using changePlayerSprite utility - Integrate all features with existing modal system Closes zero-to-mastery#6, Closes zero-to-mastery#260, Closes zero-to-mastery#261
…ctionality - Add main menu scene with Start Game, Settings, Credits buttons - Implement character selection modal with glowing hover effects - Implement in-game pause menu accessible via ESC key - Fix player sprite to correctly use selected character on spawn - Add character persistence via localStorage - Update start.js to apply selected character using changePlayerSprite utility - Integrate all features with existing modal system Closes zero-to-mastery#6, Closes zero-to-mastery#260, Closes zero-to-mastery#261
r4pt0s
requested changes
Oct 23, 2025
- Move HTML templates from menuModals.js to index.html - Move character select styles from characterSelect.js to global.css Addresses the feedback in PR zero-to-mastery#262
Member
Author
|
Hi, @r4pt0s Check out the new commit and let me know if there is anything else wanted. Thanks! |
r4pt0s
approved these changes
Oct 24, 2025
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
This PR implements a complete menu system for ZTM-Quest, including a main menu, character selection, and in-game pause functionality.
Features Added
1. Main Menu (#6)
2. Pause Menu (#260)
3. Character Selection (#261)
Technical Changes
Files Modified
index.html- Updated UI structure for main menu and modalssrc/main.js- Added menu scene registrationsrc/scenes/start.js- Apply selected character on player spawnsrc/factories/player.factory.js- Fixed player sprite initializationsrc/utils/settings.js- Updated reset game progress functionalitysrc/utils/gameState.js- Character persistence in localStorageFiles Added
src/scenes/mainMenuScene.js- Main menu implementationsrc/utils/characterSelect.js- Character selection modalsrc/utils/menuModals.js- Menu modal utilitiesTesting
Closes
Checklist
Summary
This PR implements a complete menu system for ZTM-Quest, including a main menu, character selection, and in-game pause functionality.
Features Added
1. Main Menu (#6)
2. Pause Menu (#260)
3. Character Selection (#261)
Technical Changes
Files Modified
index.html- Updated UI structure for main menu and modalssrc/main.js- Added menu scene registrationsrc/scenes/start.js- Apply selected character on player spawnsrc/factories/player.factory.js- Fixed player sprite initializationsrc/utils/settings.js- Updated reset game progress functionalitysrc/utils/gameState.js- Character persistence in localStorageFiles Added
src/scenes/mainMenuScene.js- Main menu implementationsrc/utils/characterSelect.js- Character selection modalsrc/utils/menuModals.js- Menu modal utilitiesTesting
Closes
Checklist