momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
531 stars 210 forks source link

Main Menu Webm/Static Image Convar #1380

Closed tsa96 closed 3 years ago

tsa96 commented 3 years ago

Is your feature request related to a problem? Please describe. Webms look great on Panorama but can be a resource hog due to decoding on the CPU.

Describe the solution you'd like Add a convar (perhaps mom_hud_mainmenu_video, 1 by default, 0 to disable the webm). We can easily grab that value from Panorama and I'll add JS code to determine whether to display a webm or a static image as soon as this is in.

Describe alternatives you've considered Port to Scaleform

tsa96 commented 3 years ago

Since the light and dark versions of the backgrounds both have their fans, getting an option for light vs dark like mom_hud_mainmenu_video_version would be great as well - we'd then have two options for enabling/disabled video and light/dark

Gocnak commented 3 years ago

These have been implemented as mom_ui_menu_background_video [0/1] and mom_ui_menu_background_type [0, 1, ...].

tsa96 commented 3 years ago

Can confirm this all works