Commit graph

3 commits

Author SHA1 Message Date
6757106d90 OMA-LANDER: LM silhouette, difficulty select, 5-tier landings, packaging
- Redraw the lander as an Apollo LM: wide octagonal descent stage with
  panel detail and engine bell, narrower angular ascent stage with
  docking tunnel, RCS quads, triangular cockpit windows and rendezvous
  antenna, A-frame legs splaying to saucer foot pads with surface
  probes.
- Add mission select (Cadet / Pilot / Commander / Astronaut); gravity
  and starting fuel come from the chosen mission via World.gravity and
  World.startFuel.
- Expand landing grading to five tiers with authentic-style messages:
  A PERFECT LANDING / GOOD LANDING / ROUGH LANDING / YOU MISSED THE
  LANDING AREA / CRAFT DESTROYED. Scoring and fuel bonuses tiered.
- Zero horizontal velocity against the world-edge wall instead of
  leaving momentum dangling.
- Package for release: README with user guide, install.sh matching the
  OMA-* series, icon.svg of the LM, .gitignore excluding CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 23:05:45 +01:00
74c15e555a OMA-LANDER: fix flash, terrain overshoot, thrust particles, cleanups
- main.lua: flash logic was always true; now flashes only on crash,
  always on when landed. Remove empty fuel-depleted branch. Rotate
  thrust-particle spawn point by lander angle.
- particles.lua: jet velocity had wrong vy sign, shooting particles
  upward; now emits along local (0,1) rotated by the lander angle.
- terrain.lua: jagged step could overshoot the pad approach zone and
  produce an out-of-order point (zig-zag line, bad getHeightAt). Clamp
  the step to the approach boundary. Move Camera/World requires to
  module top instead of re-requiring inside the draw loop.
- camera.lua: drop unused midY local.
- fonts.lua/world.lua/main.lua: drop unused scale parameter on
  Fonts.init.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 22:10:58 +01:00
790ca87bfb Lunar Lander: complete Love2D game with Omarchy integration
Faithful recreation of Atari Lunar Lander (1979) with vector wireframe aesthetic.
Auto-detects Omarchy system theme and font on launch.

Features:
- Dynamic zoom camera (zooms in as you approach the surface)
- Procedural jagged terrain with flat landing pads (2X, 3X, 5X multipliers)
- Apollo-style wireframe lander with thrust flame
- Gravity, thrust, rotation physics
- Landing evaluation: good (speed/angle/pad check), hard, crash
- Fuel management (750 starting, +50 for good landings)
- Crash debris particles, thrust exhaust particles
- Star field background
- HUD: altitude, horizontal/vertical speed, fuel bar, score, time
- Persistent high scores with 3-letter initial entry
- Procedural sound effects (thrust, landing chimes, crash, fuel warning)
- Full-screen scaling, system font detection

Controls: Arrows/WASD rotate+thrust, Space abort, Enter start

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 14:42:13 +01:00