Yay! Tonight I’ve come up with a safe, low CPU way to pseudo randomnly generate CPU cars that will at least initially appear on the track. That’s basically it to be honest but they attempt to home in on your car and have their own travelling speed, they also persist for a while once they go off the screen, should you, the player make an error shortly after the overtake, they can pass you back.
I guess next up, they should have differing speeds (easy to do) so they can get harder or easier depending on your position (still gotta calculate that!)
Still, it’s had more progress each night so, let’s celebrate with an animated GIF! It looped rather well!
The course needs simplifying down and lengthening out also, but I have a lot of space left in ROM ~8k for more track details, sound and, well, a lot of this data / functions can be stored inside a separate bank, because I’ll be bank switching a lot I imagine!