Captain JonnyP's Log, Star Date

Attack Track: Where It's At!

Back in July I said Attack Track was "currently in a prototype stage with a rough track generator up and running and building for the Mac, but that is as far as it has gotten so far", and to be fair to past me, that's still exactly where it's at! Nothing has gone in since July 17th. The long and short of it is I just didn't have the time for three games at once, but I wanted the idea out on paper while it was still fresh, so I got it up and driving and then parked it. This is a proper look at what got built and what the plan is, with a warning up front that everything here is greybox prototype, a blocky blue craft and orange walls floating over a sky, so go easy on it! There's a full lap up on YouTube if you want to see it move, and I should say that one is automated, it's an autopilot doing the driving and not me.

Attack Track Prototype! Watch on YouTube (opens in a new tab)

The idea is a combat racer, with Deathtrack for the whole upgrade and combat side of things and Wipeout for the more futuristic tracks and that hover feel. On paper it's a championship against rival drivers, and every event is a race for position and a contract to take out a named target at the same time (the contracts for hits I mentioned in July). Between events you'd be in the garage spending your winnings, buying new vehicles and upgrading your power plant, weapons, shields and boost. Aiming is kept simple on purpose, everything fires straight ahead and the seeker missiles go after whoever is nearest, so it should still work with your thumbs on a phone.

I set the project up on July 12th, with Claude Code as my developer again, just like on Ack Ack Attack! That first check-in was an empty Godot 4.7 project, the docs and the plan, and a few of the big calls got made that day too. The tracks would be closed loops with hills, the view would be from the cockpit with a chase camera you could swap to, and the craft would get its own hover setup, four rays holding it up off the ground, rather than Godot's built in vehicle, which is really made for cars with wheels.

Then on the evening of July 16th it all went in at once. The first check-in was at quarter past ten at night, with the editor set up and 11 controls mapped for keyboard, mouse and pad (fire and drop mine included, for weapons that don't exist yet!). Half an hour later the hover physics and the camera were in on a greybox test track, with a top speed of 42 m/s (about 150 km/h), 60 with the boost (about 215 km/h), a ramp that throws you for 1.2 seconds and lands you clean, and no tunnelling through the walls even at full boost. That bit had its own bug too, Godot's quick "rotate from this to that" maths gives up on really tiny angles, so the craft never quite levelled out, it just sat there at a 0.4° tilt until Claude swapped in another way of doing the rotation. Five minutes after that came the first Mac build, 162 MB, and my verdict on it, written down for posterity, was "it works". High praise!

A bit after midnight I dropped in a pile of reference for Claude to work from. For the track layouts that was the Wipeout 2097/XL circuit maps and some stills, about 30 F1 circuit outlines and some Mario Kart maps (Mount Wario was in there for the long downhill runs, not because I want point to point races, the tracks are all loops). For the cockpit it was two Deathtrack shots, Wipeout's internal view, Test Drive II and III, Stunts and Grand Prix Legends. What came out of that for the tracks was F1 for the shape of the layout and Wipeout for the drama, hills and banked corners with walls all the way round.

The generator itself is pretty straight forward when you break it down. It drops 12 to 16 points round a stretched, wobbly circle, scales it up to size and makes the longest gap the start straight. Two sine waves round the lap make the hills (with the slope capped at about 7°) and the corners bank in by up to 18°, more in the tighter ones. Then the loop gets checked, how many corners, how tight they get, the longest straight and that it doesn't cross over itself, and if it fails it tries again with a new seed. Whatever passes gets built as a 16 m wide road with 3 m walls, checkpoints every 180 m and a grid for 12 cars. The same seed always gives you the same track, so a championship can come back to one later, and seeds 1 to 10 all pass, at about 2.5 km a lap with 8 to 11 corners, 18 to 25 m of climb and straights of 190 to 450 m.

It threw up a few bugs along the way, and the first one was a good one, the road was invisible! Godot treats clockwise triangles as the front, the road had been built the other way round, so from above all you could see was the edges of the walls, and one flip fixed it. Then there was wall riding, scrape a wall and the hover rays decided the wall was the ground, so the craft turned to stick to it and froze solid in a perfect balance. That got fixed by ignoring anything too steep to count as ground and leaning the walls out a little. The test scene also turned out to have the whole craft copied on top of itself, eight hover rays instead of four and a second camera rig that had been throwing errors on every run since the hover physics went in. With all that sorted, Claude put an autopilot on seed 7 and it lapped clean in 61.45 seconds, through all 14 checkpoints in order, and the generator went in with a fresh Mac build at ten to two in the morning. That's the last check-in to date.

The big open question is the cockpit. The plan from July 12th was cockpit first, with a pull-out chase camera on V, but when I dropped in the cockpit reference that night I also said I'm "not 100% sold" the game should have an in-car view at all. Both views work right now, and the chunky greybox frame in the clip below is a throwaway either way. It still isn't decided, it'll come down to what feels and looks best, but it'll probably end up being a simple UI.

So what isn't there yet? Quite a lot! There are no laps or positions yet, no start countdown, no respawning (there's a kill plane in the test scene and that's it), no boost pads and no bridges. There are no weapons, rival racers, contracts, money or garage either, so no upgrades or other vehicles, and there's no HUD or menus. It only builds for the Mac at the moment, as the touch controls for the iPhone aren't in, and the speed, grip and boost numbers still need a proper feel pass from me (the notes very politely call them "first-pass plausible, not play-tested"). All in it's 14 scripts and 984 lines of code, next to just over 33,000 in Ack Ack Attack!, which tells you where it's at better than I can.

The name's staying, and Attack Track! (exclamation mark and all) now has its own app set up in App Store Connect, just waiting for something to put in it. So Pyrate Plunder Island is up next, and I'll be chipping away at Attack Track alongside it. Stay tuned!