Commit 6198f0e
Implement options menu (#183)
* Initial options menu hooks and design
Co-authored-by: squidbus <175574877+squidbus@users.noreply.github.com>
* Implemented option controls
* Update resources submodule
* Remove app init checks from options menu text rendering
* Load hidden category dynamically
* Implemented cursor animation
* Implemented restart prompt for necessary options
* Implemented intro and outro animations for controls
* Implemented button guide and reset button
* Update resources submodule
* Disable button guide animation at main menu
* Keep game paused when options menu is opened
* Implemented animations for selection arrows
* Reopen pause menu pre-selecting the options button
* Update FPS locale
* Implement Effects Volume option
* Fix slider gauges not fading out during outro animation
* Clean-up
* Implemented hold input for cursor and sliders
* Don't redraw borders in options menu when accessed via the main menu
* Unpause stage BGM upon entering options menu
* Implemented Subtitles option
* Implemented Hints and Control Tutorial options
These may need further review in terms of blocking hints initiated by volumes that suggest things to the player and hints about bosses after death.
* Fix camera options not affecting demo camera
* Keep BGM paused until Master or Music Volume sliders are selected
* Added hint patterns for disabling scripted hints
* Clean-up API and player patches, added Antigravity and Light Dash remapping support
* Disable unimplemented options temporarily
* Disable stage title control tutorial
* Revert "Disable stage title control tutorial"
This reverts commit 649ef25.
* Implemented Mute on Focus Lost option
* Don't play button guide intro animation if buttons are the same
* Restored original transition animations between main menu and options menu
* Implemented enum descriptions
* Fix Window Size option not displaying the correct window size
* Prevent inputs leaking from the options menu to the main menu
* Improve chevron animation accuracy
* Use linear interpolation for button guide animation
* Fix aspect ratio scaling for custom UI
* Fix version info not accounting for letterbox
* UI accuracy pass
* Implemented interpolated text renderer
* Improve locale for remapping actions
* Finalise options menu locale
* German and Italian localisation
Co-authored-by: Kitzuku <smashnicsg@gmail.com>
Co-authored-by: NextinHKRY <38560522+NextinMono@users.noreply.github.com>
* Spanish localisation by DaGuAr
* Use correct linear interpolation strategy for all animations
* Fix options menu descriptions fading when unnecessary
* Improved restart prompt
* Fixed main menu not drawing accurately at original aspect ratio
* Fixed field offset in HUDMainMenu
* Fade option names to avoid clipping into scroll arrows
* French localisation
Co-authored-by: LJSTAR <31629427+ljstarbird@users.noreply.github.com>
* Fix button guide being too short at ludicrously wide aspect ratios
* Fix chevron animation not looping properly
* Hide control tutorial messages for remapped actions
* Rename Antigravity option to Sliding Attack
* Update locale for Light Dash and Sliding Attack
Co-authored-by: LJSTAR <31629427+ljstarbird@users.noreply.github.com>
Co-authored-by: DaGuAr
Co-authored-by: NextinHKRY <38560522+NextinMono@users.noreply.github.com>
* Fix options menu scaling at narrow aspect ratios
* Fix "OPTIONS" title not being localised immediately upon changing language
* Fix description text fading out when cancelling a restart
* Fixed animation delay between options menu -> main menu transition
* Fix seam in top metal plate at narrow aspect ratios
* Don't animate installer title when changing language
* Disable credits marquee in installer (will address in a later PR)
* Fix red strip misaligning from top metal plate during intro and outro animations
* Japanese localisation
Co-authored-by: brianuuu <38166666+brianuuu@users.noreply.github.com>
* Update README.md
* Fix warnings
* Update embedded resources
* Fix alignment
* Finalised German localisation
Co-authored-by: Ray Vassos
* Update embedded resources
* Fix button guide displaying Reset button whilst options are locked on
* Block options menu input during intro animation
* Addressed review comments
* Swap Xbox and PS3 voice lines when changing Controller Icons
* Clean-up
* Fix Linux build
* Swap Xbox and PS3 button icons at loading screens
This does not account for remapped buttons yet.
* Fix Japanese main menu buttons not changing to PlayStation
* ButtonGuide -> ButtonWindow
For consistency sake.
* Fix Tag text lingering at ultrawide in different menu states
* Fix button window flickering when returning to main menu
* Increase Rodin font size for Japanese
* Fix seam between option title background edge and stretch
---------
Co-authored-by: squidbus <175574877+squidbus@users.noreply.github.com>
Co-authored-by: Kitzuku <smashnicsg@gmail.com>
Co-authored-by: NextinHKRY <38560522+NextinMono@users.noreply.github.com>
Co-authored-by: LJSTAR <31629427+ljstarbird@users.noreply.github.com>
Co-authored-by: brianuuu <38166666+brianuuu@users.noreply.github.com>1 parent 5da3231 commit 6198f0e
135 files changed
Lines changed: 5397 additions & 4207 deletions
File tree
- MarathonRecompLib/config
- MarathonRecomp
- api
- Chao/CSD
- Core
- Manager
- Sonicteam
- Camera
- Message
- Mission
- Player
- Input
- State
- SoX
- AI
- Audio
- Engine
- Input
- Math
- System
- stdx
- apu/driver
- gpu
- imgui
- kernel
- locale
- patches
- res/win32
- ui
- user
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
File renamed without changes.
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
File renamed without changes.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
File renamed without changes.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments