PressAnyKeyScreen → SplashScreen

This commit is contained in:
2025-09-27 16:38:26 +04:00
parent dd0c1a123c
commit 86439abea8
20 changed files with 527 additions and 59 deletions

View File

@@ -76,7 +76,7 @@ Located in `src/autoloads/`, these scripts are automatically loaded when the gam
### Main Scenes
```
main.tscn (Entry Point)
├── PressAnyKeyScreen.tscn
├── SplashScreen.tscn
├── MainMenu.tscn
└── SettingsMenu.tscn
@@ -90,11 +90,11 @@ game.tscn (Gameplay Container)
### Game Flow
1. **Main Scene** (`scenes/main/main.tscn` + `Main.gd`)
- Application entry point
- Manages "Press Any Key" screen
- Manages splash screen
- Transitions to main menu
- Dynamic menu loading system
2. **Press Any Key Screen** (`scenes/main/PressAnyKeyScreen.tscn` + `PressAnyKeyScreen.gd`)
2. **Splash Screen** (`scenes/main/SplashScreen.tscn` + `SplashScreen.gd`)
- Initial splash screen
- Input detection for any key/button
- Signals to main scene for transition
@@ -184,7 +184,7 @@ The game now uses a modular gameplay architecture where different game modes can
### Debug System
- Global debug state via DebugManager with initialization
- Debug toggle available on all major scenes (MainMenu, SettingsMenu, PressAnyKeyScreen, Game)
- Debug toggle available on all major scenes (MainMenu, SettingsMenu, SplashScreen, Game)
- Match-3 specific debug UI panel with gem count controls and difficulty presets
- Gem count controls (+/- buttons) with difficulty presets (Easy: 3, Normal: 5, Hard: 8)
- Board reroll functionality for testing
@@ -282,7 +282,7 @@ sprites:
### Signal Connections
```
PressAnyKeyScreen --[any_key_pressed]--> Main
SplashScreen --[any_key_pressed]--> Main
MainMenu --[open_settings]--> Main
SettingsMenu --[back_to_main_menu]--> Main
DebugManager --[debug_toggled]--> All scenes with DebugToggle
@@ -339,7 +339,7 @@ DebugManager.log_error("Invalid scene path provided", "GameManager")
# - Settings: Settings management, language changes
# - Game: Main game scene, mode switching
# - MainMenu: Main menu interactions
# - PressAnyKey: Press any key screen
# - SplashScreen: Splash screen
# - Clickomania: Clickomania gameplay mode
# - DebugMenu: Debug menu operations
```