Files
sbox-public/engine/Sandbox.Test.Unit/UI
Alex Guthrie 8421496ed2 Menu: New games dashboard (#4468)
* Common components

* Replace PackageCard with GameCard in content blocks, wrapped grid layout

* Move GameCard to New/ folder, use ThumbWide for all sizes

* Add `overflow: clip` and `overflow: clip-whole` modes

* New game hub layout, hero

* Layout + hero tweaks

* Hero tweaks

* Clean up content blocks, make it so that game cards don't clip on hover

* Dynamic mask

* Don't bother building CL for panels outside scroll view (400% perf benefit in main game hub)

* Disable 3D bg when not visible (50% performance benefit)

* Cards take their sizes from the image within them

* Stash tweaks before big refactor

* Initial hero carousel

* Better carousel transitions

* Try and reduce allocs inside CL combos

* `background-playback-state` CSS property (`paused` or `running`, applies to video `background-image`)

* Make out-of-focus carousel elements more obvious (no playing video, darkened)

* New branding

* Tweak navbar

* Carousel shows full thumb if not visible, helps with visual noise

* Accurate vote percentage 🙈

* Fix some carousel jankiness

* Navbar feels less disjointed

* Rebake menu lighting & envmaps

* Finalize

https://files.facepunch.com/alexguthrie/1b0311b1/bZKOQIQD0o.jpg

* Trim down visual noise

https://files.facepunch.com/alexguthrie/1b0311b1/oJh4qqaPsC.jpg

* Gradient

https://files.facepunch.com/alexguthrie/1b0511b1/uCyZyolkXE.jpg

* Format

* .heading labels use heading vars

* Carousel slower time between auto switch

* No play button on GameCard

* Content blocks full width

* Adjust GameCard sizes

* Content block header padding

* Add MenuHelpers.PlayGame, GameModal uses it, make hero "Play Now" button use it

---------

Co-authored-by: Matt Stevens <matt@mattstevens.co.uk>
2026-04-08 17:00:02 +00:00
..
2026-01-19 11:58:24 +00:00
2026-04-08 17:00:02 +00:00
2025-12-10 14:23:00 +01:00
2025-12-10 14:23:00 +01:00
2025-12-10 14:23:00 +01:00