Game ready method
Stay organized with collections
Save and categorize content based on your preferences.
ready(): void;
The game has finished loading and is ready to play.
Your game should call ready
as soon as its main menu (not its loading screen)
is both displayed and interactive. You may use this call to hide loading screens
or indicators. At this point your game, or at least the first level, should be
loaded.
Requirements
- Your game must call this method when your game is ready for user
interaction. This could be either a main menu or the core game content
itself.
- Your game must not call this method while there are still
non-interactable elements being displayed to the user, such as splash
screens or loading screens.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["The `ready()` method signals that the game has finished loading and is ready for user interaction, indicating the main menu or core game content is displayed and interactive."],["Games must call `ready()` when ready for user input, ensuring no non-interactable elements like splash or loading screens are present."]]],[]]