<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
<aside> 💡 The pages of the game and how to build a new one.
</aside>
The game UI is a set of pages in the Game scene. UIController from Watermelon Core shows and hides them.
UIPage subclass. A popup can pause the game.<aside> 📄 Pages Overview The whole game UI lives in the Game scene as pages. Each page is a canvas with a UIPage component. UIController from Watermelon Core shows and hides the pages.
</aside>
<aside> 📄 HUD The run HUD is part of the UI Game page. RunHUD shows the speed, the distance, the progress and the fuel. ActiveBoosterHUD shows the timed boosters.
</aside>
<aside> 📄 Settings Page UISettings is a popup with the sound and haptic toggles and the link buttons. Each button is a small component derived from SettingsButtonBase.
</aside>
<aside> 📄 How to add a new Page A page is a canvas with a UIPage subclass. Add it to the UI Main Canvas of the Game scene and UIController finds it.
</aside>