Add a dial speedometer #162

Merged
Chearii merged 3 commits from dialspeedometer into Saturn-Testing 2025-04-13 18:44:39 +02:00
Chearii commented 2025-04-09 23:02:48 +02:00 (Migrated from github.com)

WARNING: This fork is based on the Testing branch! I'm aware that branch is very frequently updated, so it's likely my branch is already horrifically outdated... 😓

This adds a dial-based speedometer as a HUD option. Makes for a neat showcase of the HUD rotation capabilities!
Due to how the speedometer itself is formatted, the lap/bumper counter is shrunken down when the dial speedometer is enabled.

kart0000
kart0001

As per HUD graphic standards, this comes with both a non-colorized and colorized version. The extra.kart and extra2.kart files were modified to include the necessary graphics:
extra_dialspeedometer.zip

Very loose tests were done on a Windows build, with no notable issues.

**WARNING: This fork is based on the Testing branch!** I'm aware that branch is very frequently updated, so it's likely my branch is already horrifically outdated... 😓 This adds a dial-based speedometer as a HUD option. Makes for a neat showcase of the HUD rotation capabilities! Due to how the speedometer itself is formatted, the lap/bumper counter is shrunken down when the dial speedometer is enabled. ![kart0000](https://github.com/user-attachments/assets/d96eba0d-a619-4180-b56b-87a787e010ba) ![kart0001](https://github.com/user-attachments/assets/a497ddba-6e0a-4e49-99ca-e93dd29eb2b9) As per HUD graphic standards, this comes with both a non-colorized and colorized version. The extra.kart and extra2.kart files were modified to include the necessary graphics: [extra_dialspeedometer.zip](https://github.com/user-attachments/files/19674396/extra_dialspeedometer.zip) Very loose tests were done on a Windows build, with no notable issues.
alufolie91 commented 2025-04-10 22:53:35 +02:00 (Migrated from github.com)

this is really cool!
was wondering when someone would finally make a dial speedometer X)
been testing it a little and noticed one thing though, the Fracunit metric seems have a very different dial range (is that the right word? lul) from the other metrics, not sure if this is intended since the others match up quite nicely
otherwise everything looks good codewise
kart0131
kart0132

this is really cool! was wondering when someone would finally make a dial speedometer X) been testing it a little and noticed one thing though, the Fracunit metric seems have a very different dial range (is that the right word? lul) from the other metrics, not sure if this is intended since the others match up quite nicely otherwise everything looks good codewise ![kart0131](https://github.com/user-attachments/assets/65681e63-162d-4f3b-91f0-94027f36280c) ![kart0132](https://github.com/user-attachments/assets/50d92adb-68ab-4e6a-be85-6f31eb4d6069)
Chearii commented 2025-04-11 01:43:56 +02:00 (Migrated from github.com)

the dial range being different is indeed intentional for fu/t (hence why I added a divisor field to the drawing function)
normally, the dial's range was balanced around percentage: 200% would push the dial to its limit

however, even on hard speed, there's barely ever a moment where you'll reach 200 fracs/tic (or mph, which also has a different dial range), so it barely reaches halfway, even when you're going crazy fast; it felt very off to me
here's a gif of what it looked like prior:
kart0002

because of that, fu/t and mph have a different dial range than km/h and percentage
though if you'd rather consistency, I'm completely fine with reverting it to how it was prior

the dial range being different is indeed intentional for fu/t (hence why I added a ``divisor`` field to the drawing function) normally, the dial's range was balanced around percentage: 200% would push the dial to its limit however, even on hard speed, there's barely ever a moment where you'll reach 200 fracs/tic (or mph, which also has a different dial range), so it barely reaches halfway, even when you're going crazy fast; it felt *very* off to me here's a gif of what it looked like prior: ![kart0002](https://github.com/user-attachments/assets/eb0312de-ca07-4429-9803-acb72e950550) because of that, fu/t and mph have a different dial range than km/h and percentage though if you'd rather consistency, I'm completely fine with reverting it to how it was prior
alufolie91 commented 2025-04-11 14:34:22 +02:00 (Migrated from github.com)

well if it is intentional then its fine by me c:
so ye everything looks good to me

well if it is intentional then its fine by me c: so ye everything looks good to me
Indev450 (Migrated from github.com) approved these changes 2025-04-12 20:37:14 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#162