Oooooh, I'm curious. How did you get the car to tell whether it was on grass or not? I'd meant to make a racing game in the past, but couldn't due to lack of motivation, and also I couldn't figure out how to make that system work. Nice implementation of it here!
Viewing post in Speedy Circuit jam comments
Thanks! I drew over the map with a tilemap using 8x8 pixel tiles, then hid the tilemap. I referenced a custom property/index of the tile below the player inside the function to apply friction. It was pretty easy to setup, but tedious to paint over the map. I had hoped to add an auto-tiling method to place the tiles for me, but it ended up being faster to do it manually. I also had it setup for ice, but didn't get around to making the winter map that I had originally planned to make as a third map.