Car (I recommend spamming/repeatedly clicking the keys instead of holding them down, since Scratch only lets you press one key at a time): Up Arrow—Accelerates the car Left Arrow—Turns the car counterclockwise Right Arrow—Turns the car clockwise Down Arrow—Accelerates the car backwards m—Brakes the car AI Car 1's motions can be tampered with using the following: w—Accelerates the AI car a—Turns the AI car counterclockwise d—Turns the car clockwise s—Accelerates the car backwards This is a backup from July 5th, 2017. Currently what is next to be worked on is making the AI slow down before most markers, and getting the AI to drive next to other cars without hitting them.
This is a backup of an incomplete game I'm working on and might eventually finish; I'm not sure. The final goal is to make an exciting racing game. But I'm not there yet. Currently, there is a menu (the reset button does nothing, though), a choice between 6 characters, each with their own car with its own stats, 11 out of the at least 18 racetracks that I am planning on making (although only two of them—Skogstaden and Highway Circuit—have anything more than just a racetrack), a drivable car, and two AI cars that drive around on the Skogstaden track. There's also a second half-transparent track in the background, which is only visible because the game is under construction (otherwise it would be completely transparent). This is definitely a work in progress. And if some of the buttons seem to say weird things, it's either because they contain filler text or because they were written in Swedish. If you're looking for a complete, fun, debugged game, look at my games "The Search For The Lost Diamond" and/or "Security Breach." They're not racing games though, if that's what you're looking for. Please disregard any comments you see in the code. Scratch mixed up which script each comment refers to when I converted the game program from Scratch 1.4 to Scratch 2. To understand the math used, you'll need a good understanding of basic trigonometry and the unit circle, and in one particular script you'll also need to be familiar with how to do cross-products with unit vectors (although even if you know the math, you might still have issues following along since the code is pretty complicated and because the in-program documentation I have left behind is pretty pathetic).