Repository navigation
feat: bump asw 0.12.1, controller support and shared workflows - #16
Merged
Merged
Conversation
- Drive UI navigation with asw::ui::bind_default_navigation (keyboard, D-pad, left stick, A, B, plus the controller Back button) and replace the hand written controls::update_ui forwarding and UI_* actions. - Leave LevelSelect, HighScores and Game with Root::on_back. - Use theme.font instead of setting the font on every widget. - Remove root size workarounds, the root follows the screen size now. - Keep labels black through theme.text, labels now default to the theme. - Focus the name box when the end panel shows, focus is no longer given to the first widget automatically.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Moves the game to ASW 0.12.1 and adds controller support to its menus.
Changes
core::exit(), input getters).InputBox(157 lines); the game already usedasw::ui::InputBox.bind_default_navigation()andRoot::on_back: D-pad, stick, A / B and the keyboard move and press. Confirm submits the high score name.CI
release.ymluses the sharedadsgames/deploy-to-adsgamesrelease workflow: every platform (web, Linux, Windows, Mac) builds on pull requests, andv*tags deploy to A.D.S. Games.deploy.ymlis replaced bygithub-pages.yml, which calls the shareddeploy-asw-pages.ymlworkflow (Emscripten 6.0.10). Pull requests only build, pushes to the default branch and tags deploy.Behaviour changes
Testing