New Tampermonkey script for transparent minimap overlays on all tracks
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!
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!