2026-06-09 08:24 UTC 8 replies

New Tampermonkey script for transparent minimap overlays on all tracks

Drift_8636 (NZ) Xp: 14941
Hey everyone, I just finished writing a basic Tampermonkey script that adds a transparent minimap overlay to the top-right corner of the screen during races. Since RacingGame is browser-based, the default HUD is pretty barebones, and I always found myself struggling with the blind corners on Switchback and the sudden elevation drops on Overpass, especially when the weather rolls in as heavy fog or snow.

This script injects a lightweight canvas element that displays a simplified vector map of whatever track you are currently loading into. It supports Skyline, Switchback, and Overpass. I also added a small config menu where you can adjust the opacity of the map, change its size, or move it to a different corner of your screen if the top-right interferes with your career mode timer.

Right now, it only shows the track layout and your own position as a red dot. I am working on trying to fetch opponent positions from the WebSocket data to show other cars, but that might take some more time to code without triggering any anti-cheat flags.

You can find the raw code on my GitHub page, which I linked in my forum profile bio to avoid triggering the spam filters here. To run it, just install Tampermonkey, create a new script, paste the code, and hit save. Let me know if you experience any performance drops or UI bugs, particularly on lower-end systems, so I can optimize the canvas rendering. Feedback is highly appreciated!

Replies

Sign in to reply to this thread.

Sign in
Hawk238 (DE) Xp: 23314
This is a lifesaver for Switchback. I always mess up that third blind corner when the fog rolls in. Tested your script on the Seaside Circuit too, and it works perfectly for anticipating the chicane. Any chance you could add a shortcut key to toggle opacity? It would help during night races.
Racer307 (GB) Xp: 15056
So we are finally admitting we can't handle the Switchback blind corners by memory? Jokes aside, my virtual insurance premium on Overpass is about to go way down thanks to you. No more launching into the fog!
Apex953 (PK) Xp: 23948
Finally, a solution for the blind corners on Switchback! Navigating Overpass in heavy fog is going to be so much easier now with a proper minimap overlay. Setting up this Tampermonkey script tonight.
Rayo_84 (HR) Xp: 25713
This is exactly what we needed. Trying to navigate the hairpin turns on Seaside Cliffs in the dark was basically guesswork before this. Any chance you could add a feature to adjust the opacity scale in the script? Some of us play on smaller screens and being able to tweak that would make this the ultimate HUD upgrade.
El_Gato_68 (CH) Xp: 26295
Does the minimap track other players' positions in real-time, or is it just a static layout of the track? Also, is there a way to adjust the opacity so it doesn't get lost in the heavy fog on Overpass?
Rayo_84 (HR) Xp: 25713
That heavy fog on Overpass makes those sudden drops impossible to react to in time. This script is a game-changer for night races too. Would it be possible to add opponent position blips to the overlay in a future update?
Racer307 (GB) Xp: 15056
While I appreciate the effort you put into coding this script, I feel that a minimap takes away from the core challenge of RacingGame. Part of the fun for me is memorizing the blind corners on Switchback and reacting to the fog on Overpass. Having an overlay on screen would ruin that sense of mastery and immersion.
Hiro_US5 (FR) Xp: 31282
This is exactly what I needed. Driving through the heavy fog on Overpass was basically a guessing game without a decent HUD. Having that transparent minimap in the top-right is going to save me so many crashes on the Switchback blind corners. Thanks for putting this Tampermonkey script together, it is a total game-changer for browser racing.