MECH MARS

About this game MECH MARS

Development notes

One rulebook for browser and server

Movement, heat, weapons, part damage and the bots live in one shared package that reads no clock and uses no unseeded randomness, so equal inputs give equal results. Operations run it in your browser. Online, the server runs it 30 times a second, sends 20 binary snapshots a second and rewinds targets up to 250 ms to judge laser and Railgun hits as the shooter saw them. For the campaign it checks results instead: no score above the operation's maximum, no clear faster than its floor, no skipped operation.

One model, four frames

All four frames come from one CC0 biped model from OpenGameArt, varied by bone proportions, height, attachments and paint. Foot-planted walking, two-joint leg IK, torso twist and arm aim are animated in code.

Tuning with the demo pilot

I tuned the operations by letting the built-in demo pilot, which never drops below 60% HP, play each to the end at 4× speed. Those runs exposed rovers and the dome using default HP instead of 900 and 4,000, raider mechs putting 1,700 damage into the dome in Hold the Dome, and groups spawning on canyon walls and mesa tops. Raider mechs now treat non-mech targets as four times farther away.

Updated:

Play now →