Add vessel tutorial and manual control on main menu#406
Open
Shombith03 wants to merge 2 commits into
Open
Conversation
Introduces a first-launch tutorial that pans the camera behind the AI vessel and walks the player through speed-up (spread controllers), slow-down (pinch), and prism-skim steps before returning to the app shell. Also adds an always- available double-tap re-entry feature to take manual control of the menu vessel. New files: - MainMenuVesselTutorialController: FTUE tutorial orchestrator - MainMenuVesselReentryController: double-tap vessel re-entry - VesselTutorialUI: overlay for prompts and exit button Modified: - ScreenSwitcher: HideAllUI/ShowAllUI convenience methods - TutorialFlowController: guard to skip old Phase1 when vessel tutorial active - SkimmerImpactor: static OnPrismSkimmed event for tutorial detection https://claude.ai/code/session_01XHn6GSZ1cLEFZs3qunpPVL
…and HOME screen guard - Toggle ActionHandler subscription when switching between AI and player control - Set input idle state properly on enter/exit - Hide HUD explicitly when returning to AI control - Only detect double-tap re-entry when on HOME screen with no modals open https://claude.ai/code/session_01XHn6GSZ1cLEFZs3qunpPVL
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
Implements an interactive vessel tutorial and manual control system accessible from the main menu. Players can now double-tap the screen center (or press both gamepad sticks) to take manual control of the AI vessel, with a dedicated first-launch tutorial that guides them through speed control, slow-down, and prism skimming mechanics.
Key Changes
MainMenuVesselTutorialController: New controller that orchestrates the first-launch vessel tutorial on the main menu. Detects FTUE Phase1 initialization and walks players through:
MainMenuVesselReentryController: New controller providing always-available manual vessel control on the main menu. Features:
VesselTutorialUI: New simple overlay UI component for tutorial prompts and exit button with fade animations and canvas group management
SkimmerImpactor: Added
OnPrismSkimmedstatic event to detect when a prism is skimmed, enabling tutorial step completion detectionScreenSwitcher: Added
HideAllUI()andShowAllUI()public methods to manage NavBar and screen visibility during vessel interactionsTutorialFlowController: Updated to skip Phase1 flow when the new vessel tutorial is active, preventing duplicate tutorial execution
Implementation Details
WaitForSustainedInput()helper to require held input for specified durationhttps://claude.ai/code/session_01XHn6GSZ1cLEFZs3qunpPVL