Skip to content

Commit

Permalink
Pause Menu Quick Settings & Draggable HUD Elements (#837)
Browse files Browse the repository at this point in the history
* DraggableHudElement script

* Vector2 Setting type

* Remove Vector2 Setting type

* Save and load UI element positions

* Update YARG.Core

* Created dragging display

* Added draggable hud buttons

* Removed use of scaling on score display and made draggable HUD buttons smaller

* Added quick settings button into the pause menu

* Made the "Edit HUD" button work

* Prevent editing HUD with multiple players

* Fix score box hit box

* Allow dragging the solo box

* Replace placeholder textures for draggable display and show outline on draggable elements

* Make buttons into smaller icon buttons

* Lyric bar dragging

* Fix some errors

* Reset all button for HUD

* Multiple HUD positioning profiles

* Started audio settings in pause

* Made pause menus into variants of a generic pause menu prefab

* Fixed scrolling within pause menu settings

* Make the quick settings look a little better

* Fixed warning

* Finished off quick settings sliders

* Added missing localization key

* Removed unused struct

* Added more missing localization keys

* Add a simple versioning system just in case

* Fix stars in the score display

---------

Co-authored-by: RileyTheFox <[email protected]>
  • Loading branch information
EliteAsian123 and RileyTheFox authored Jul 30, 2024
1 parent 7a222d1 commit 2950efa
Show file tree
Hide file tree
Showing 67 changed files with 11,279 additions and 5,663 deletions.
2 changes: 2 additions & 0 deletions Assembly-CSharp.csproj.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Caudio_005Cbass/@EntryIndexedValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Caudio_005Cinterfaces/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cdragging/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cinputviewer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cpause/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cpause_005Csettings/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cpractice/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Creplayviewer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cscript_005Cgameplay_005Chud_005Cscorebox/@EntryIndexedValue">True</s:Boolean>
Expand Down
4 changes: 2 additions & 2 deletions Assets/Art/Menu/Common/Icons/AssortedIcons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions Assets/Art/Menu/Common/Icons/AssortedIcons.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/Art/Menu/Common/SoftMaskBottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 111 additions & 0 deletions Assets/Art/Menu/Common/SoftMaskBottom.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Art/Textures/Gameplay/Dragging.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/Art/Textures/Gameplay/Dragging/HighlightGrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 111 additions & 0 deletions Assets/Art/Textures/Gameplay/Dragging/HighlightGrid.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/Art/Textures/Gameplay/Dragging/HighlightOutline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2950efa

Please sign in to comment.