Some QOL tweaks for our favorite 2003 marble rolling game!
Go to file
Terry Hearst 973eed7985 Configurable FOV 2023-05-26 01:00:15 -04:00
marble/client Configurable FOV 2023-05-26 01:00:15 -04:00
README.md Configurable FOV 2023-05-26 01:00:15 -04:00

README.md

Marble Blast Gold Tweaks

Here are a few small tweaks to Marble Blast Gold which add a few quality of life features for those who want to play and speedrun the game.

Many of the things here were taken from Dom Turchi's TOOLS where he did similar modifications to the game. Some of the things I did here expand on the work he did there.

Additional code was taken from PlatinumQuest-Dev, credited below. This code is licensed under MIT, see the PQ repository license file for more information.

Usage

Take a look at the features below, and pick and choose the files you want. Then, copy the files (or parts of files) that you want into your Marble Blast Gold installation.

Some features are disabled by default, so read them below to see how to enable them if you want.

Features

  • Show third decimal in end screen/best times (marble/client/scripts/game.cs)
    • This tweak shows thousandths on the end screen, as well as on the high scores screen. This is convenient since you no longer need to use echo(PlayGui.elapsedtime); in the console to check the third decimal.
    • This can be disabled by running $formatTimeThousandths = 0;.
  • Add option for third decimal in the in-game timer (marble/client/scripts/playgui.cs and marble/client/ui/playGui.gui)
    • To enable this feature, run $playGuiTimerThousandths = 1; in the console. You will now see thousandths when doing runs!
    • Note, this might be considered cheating since you get information that you shouldn't have during a run. But I really don't think anyone cares, and Dom does it anyway so lol
  • FOV adjustment (marble/client/scripts/playgui.cs)
    • The default FOV can look a little contricting on larger monitors with wide aspect ratios, so this lets you change it. At the top of playgui.cs, uncomment $customFov = xyz; and set it to whatever you want. The value can also be set via the console, which updates on the start of a level.
  • Time Travel display while playing (marble/client/scripts/playgui.cs and marble/client/ui/playGui.gui)
    • Taken from PlatinumQuest, originally written by main_gi and adjusted for MBG.
    • To enable this feature, run $playGuiTimeTravelDisplay = 1; in the console. Now, when you pick up a time travel, you can see the time remaining!
    • When setting it to 1, it will show all decimal places. If you want to match PQ's behavior where it only shows tenths, then run $playGuiTimeTravelDisplay = 2; instead.
    • Note, this also might be considered cheating since you get information that you shouldn't have during a run. Worth a discussion at least.