Meeting the performance goal for “Jet Racing”

208 ghosts, 40% of a fairly weak CPU, 19 MB of RAM, and a steady 45 - 50 FPS. I love modern computers.

208 ghosts, 40% of a fairly weak CPU, 19 MB of RAM, and a steady 45 – 50 FPS.
I love modern computers.

I iterate over every ghost car and draw it, whether it’s visible or not. Box2D does all the physics. Works great.