Repository navigation
Eon Commando 2.8.0 — auto-fire
Auto-fire is in, and it's on by default on a touch screen.
Holding a fire button while steering with the same thumb was the worst part of this game on a phone. The autoFire setting existed in the menu since 2.0 but was wired to nothing — it did nothing at all. Now it works.
It aims for you, it does not decide for you
Auto-fire engages a target only within ~31° of where you are already pointing and within 210 px. Point up and it shoots up; point the diagonal and it shoots the diagonal; anything behind you is ignored. The shot goes to the acquired angle while the arm swings toward it for looks — so the assist corrects precision, not intent. Manual fire on Z/B still overrides it.
On by default for touch, off for keyboard, decided on first run. AUTO shows next to the weapon and brightens when a target is locked.
It made the phone view better too
With aiming handled, a closer camera became viable — so portrait tightened from 270 to 220 world pixels wide. The commando is now 21 px wide instead of 17, and the play area covers 57% of the screen height instead of 46%. That's the answer to "it's small" that I couldn't reach before without making the game unfair.
Replanned order for what's left
I've rewritten the roadmap in the README. Shipped: three eras, nine enemy types, three bosses with hazards, dash/melee/grenades, co-op, difficulty tiers, accessibility, widescreen and portrait, 573 draw ops/frame, replays, daily seeds, rebinding, touch menus, auto-fire, PWA.
Remaining, in the order I'd build them:
- Endless mode — escalating waves on the existing arenas, score multiplier, no new art. Three stages is thin for a run-and-gun and this is the biggest content win available; it also gives the difficulty tiers and replays far more to chew on.
- Touch pad layout editor — drag the pads anywhere, per device. The last real mobile gap.
- Perks between eras — pick 1 of 3, now that difficulty tiers exist to hang them on.
- Android APK / Windows EXE through
app-builder. - LAN co-op through
lan-kit.
Numbers
| Game | index.html — 174 KB, single file |
| Gzipped | 47 KB |
| Portrait commando | 21 px wide, up from 17 |
| Play area on a phone | 57% of screen height, up from 46% |
| Dependencies | 0 |
Full notes in CHANGELOG.md.