About this game DOGFIGHT
Development notes
One flight model, two machines
The flight step is a deterministic function, free of random numbers and clock reads, shared by server and browser. The client moves its own jet at once and replays unconfirmed inputs when a snapshot arrives. The server ticks at 30 Hz, sends 20 binary snapshots a second, and rewinds targets up to 250 ms to judge gun hits as the shooter saw them.
Rationing enemy missiles
Autopilot test runs showed each enemy firing on its own: Mission 5 put 26 missiles in the air in 39 seconds, more than flares and turns could answer. Jets and SAMs now share one launch budget; the rest hold their lock without firing, which is what the lock warning shows. In the same runs, Mission 5 now sends about 15 a minute.
Aces that last
Crimson had 198 HP and fell 8 to 27 seconds into the duel. Aces now get 1.8× HP plus 250, evade missiles from 4.2 km and change phase as they weaken. Felon's stealth was only a radio line, so I made it a real lock penalty. Autopilot duels now last 21 to 96 seconds.
Updated: