Nitro Type - Racing Mini Map

Displays a mini map of the Race Track.

Author
Toonidy
Daily installs
4
Total installs
1,562
Ratings
0 0 0
Version
0.1.0
Created
2023-01-16
Updated
2023-01-16
License
MIT
Applies to

Description

Displays a mini map of the race.

See Nate Dogg's video for a little demo and guide! https://www.youtube.com/watch?v=4XrZNkzN7uE (Don't forget to like and subscribe)

Configuration

Refer to config variable to adjust settings.

  • color changes the color on various drawing elements, use hex color codes to adjust the value (include 0x in front of the hex color)
  • trackLocally uses the player's own typing progress stats without relying on server data; this gives it a more "real time update"; turning it off simply uses less custom code and relies on the server data
  • moveDestination displays a transparent box in front of the racer to indicate the exact "progress" the racer is at on the racer (think of like how typeracer works). Use enable to turn it on or off and alpha adjusts how transparent the box is on the map

Screenshots

screenshot

Just a typical race

screenshot cheater

BONUS: Watch someone cheating in real time on the map! (racer loves cheating, but probably knew I was recording cheaters to test my script and decided to stop before the finish line ._.)

Troubleshooting

Map doesn't show up?

There could be many factors, but the first known one is that the CDNJS Cloudflare to PIXI is blocked. You can confirm this by going to https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.5.4/browser/pixi.min.js and checking whether your browser blocks it or not.

To fix, change the the URL to:

Unfortunately, I cannot use this on Greasyfork due to restrictions on external scripts/libraries.