Skip to content

Add hover over satellite explanation to tutorial - #6

Open
wannerdev wants to merge 1 commit into
mainfrom
feature/tutorial-hover-explanation
Open

Add hover over satellite explanation to tutorial#6
wannerdev wants to merge 1 commit into
mainfrom
feature/tutorial-hover-explanation

Conversation

@wannerdev

Copy link
Copy Markdown
Owner

Description

Enhances the tutorial system by adding a new step that teaches players about the hover mechanic for viewing satellite orbits.

Changes

  • Added already_hovered_satellite field to HudState resource
  • Added satellite_query parameter to update_explanation_text function
  • Implemented new tutorial step: "HOVER OVER SATELLITE TO VIEW ORBIT"
  • Tutorial now progresses through three steps:
    1. Launch satellite (HOLD/RELEASE LMB TO LAUNCH)
    2. Hover over satellite (HOVER OVER SATELLITE TO VIEW ORBIT)
    3. Use thruster (PRESS SPACE TO SLOW DOWN)
  • Only applies to desktop (mouse) input - mobile tutorial unchanged

Tutorial Flow

Before:

  • Launch -> Space to slow down -> Hide

After:

  • Launch -> Hover over satellite -> Space to slow down -> Hide

Benefits

  • Players discover the hover mechanic naturally
  • Better understanding of orbit visualization
  • Smoother learning curve for satellite management
  • Helps players learn to select satellites for thruster control

Testing

  • Start game and launch a satellite
  • Verify tutorial shows hover instruction
  • Hover over the satellite
  • Verify tutorial progresses to space instruction
  • Press space and verify tutorial hides

Related Issue

Fixes: Tutorial - Hover over satellite should be explained in tutorial

- Added already_hovered_satellite field to HudState
- Added satellite_query parameter to update_explanation_text
- New tutorial step: HOVER OVER SATELLITE TO VIEW ORBIT
- Tutorial now progresses: Launch -> Hover -> Space to slow down
- Helps players discover the hover mechanic for orbit visualization
- Only applies to desktop (mouse) input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant