Drive around the 3d circuit and face challenging opponents! Use your arrow keys to turn and accelerate as you navigate your way through the tricky track! Play the game by clicking the button down below!
How was it made?
While making this project, we faced many challenges due to the fact that makecode arcade was meant for 2d projects. Thanks to the ray-casting extension, we were able to bypass some of arcades limitations, however there were quite a few challenges.
Rendering
The first problems were with rendering the map and getting the car to drive smoothly. We had to debug some problems with ray-casting, but other than that, it went smoothly.

Drifting
Making the kart drift smoothly was a difficult task. The ray-casting extension only allowed things to move rather “blockily”. In the end however, using a few variables to get the karts last direction and speed, we were able to allow it to drift quite well!

Bot Driver
The bot was extremely difficult to make. We tried in many ways to get him to drive around the track, however he always got stuck in walls or went backwards. However, using a complicated function, we were able to get him to follow some preset checkpoints on the map.

Powerups
The power-ups weren’t as difficult to make as the bot and drifting mechanic, however they also did bring a bit of a headache. The shell had quite a few bugs, however they were easily fixed.
