hud_progreso.gd). This system visualizes progression with bronze, silver, gold, and diamond trophies.
Progress HUD Overview
File Location
Opening the Progress Panel
From the main menu:scripts/main_menu.gd
Achievement Tiers
Score Thresholds
Each minigame has four achievement tiers:scripts/hud_progreso.gd
Trophy Icons
Progress Cards
Card Structure
Each minigame has a card showing:- Game name
- Trophy icon (based on high score)
- Progress bar to next tier
- “Play” button to launch the minigame
Progress Calculation
- Current tier: Bronze (60+)
- Next tier: Silver (80)
- Progress: 75/80
- Progress bar shows: min=60, max=80, value=75
Player Info Display
Loading Player Name
Launching Minigames from Progress Panel
Signal Emission
Main Menu Handler
scripts/main_menu.gd
Human-Readable Game Names
UI Behavior
Panel Overlay
The progress panel dims the background when open:scripts/main_menu.gd
Clicking Outside to Close
Complete Progress Card Example
Scenario: Player has 2100 points in Turtle Runner- Load score:
scores["turtle_runner"] = 2100 - Determine tier: 2100 >= 2000 (silver) → Silver trophy
- Calculate progress:
- Current tier: Silver (2000+)
- Next tier: Gold (3000)
- Progress: 2100 / 3000
- Update UI:
- Trophy icon:
res://assets/silver.png - Progress bar: min=2000, max=3000, value=2100
- Label: “2100 / 3000”
- Trophy icon:
- Play button: Clicking launches
_on_turtle_pressed()
Progress Bar States
State 1: Below Bronze
State 2: Bronze to Silver
State 3: Maximum Tier
Initialization Flow
scripts/main_menu.gd
Adding New Minigames to Progress Tracking
Step 1: Add Score Thresholds
Step 2: Add Card Mapping
Step 3: Add Human-Readable Name
Step 4: Add Launch Handler
scripts/main_menu.gd
Step 5: Register in ScoreManager
ScoreManager.gd
Best Practices
Balanced Thresholds
Set thresholds based on typical gameplay:- Bronze: Achievable in first try (20-30% of high scores)
- Silver: Requires practice (50% of high scores)
- Gold: Skilled players (75% of high scores)
- Diamond: Mastery (95th percentile)
Visual Feedback
The progress bar provides clear goals:- Players see exactly how many points until next tier
- Full bar at max tier shows achievement completion
- Incremental progress motivates continued play