[title: "Boot Class"] ← Back to index

The Boot state is the initial game state that loads critical assets and initializes core systems.

[heading: "Description"]

Boot is the first game state that runs when PadManiaX starts. It loads essential assets like fonts and UI elements, initializes the input system, and prepares the game for loading.

[heading: "Key Responsibilities"] [list] * Load critical assets (fonts, window panels) * Initialize the Gamepad input system * Initialize the NotificationSystem * Set up game timing and world settings * Define primary assets and game resources * Register all game states * Transition to the next loading state [/list] [heading: "Methods"] [table header] [ Method | Parameters | Description ] [ preload | () | Loads essential assets including fonts and UI window panels ] [ checkForCrashRecovery | () | Checks if game crashed previously and sets flag ] [ create | () | Initializes core systems, registers states, and starts loading ] [/table] [heading: "Registered Game States"] [table header] [ State | Description ] [ Load | Dynamic asset loading ] [ LoadCordova | Cordova file system initialization ] [ LoadAddons | Addon loading and initialization ] [ LoadLocalSongs | Built-in song loading ] [ LoadExternalSongs | External song loading ] [ LoadSongFolder | Single song folder loading ] [ Title | Title screen with animated logo ] [ MainMenu | Main navigation menu ] [ Addons | Addon management interface ] [ Settings | Game settings configuration ] [ Keybindings | Keyboard and gamepad mapping ] [ SongSelect | Song and difficulty selection ] [ CharacterSelect | Character creation and customization ] [ AchievementsMenu | Achievement viewing interface ] [ StatsMenu | Player statistics display ] [ Play | Main gameplay state ] [ Results | Post-game results and high scores ] [ Editor | Chart editing mode ] [ Jukebox | Music player with visualizers ] [ Credits | Scrolling credits screen ] [/table] [heading: "Notes for Modders"]

Addons are not available during the Boot state. This state runs before addon loading occurs.

[footer: "© Retora 2026"]