Commit graph

3 commits

Author SHA1 Message Date
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
515f78a3e7 OMA-LANDER: rebrand and tune physics, camera, terrain
Rename to OMA-LANDER in title bar and title screen. Retune lander
physics for a gentler, original-feel experience (lower gravity, slower
rotation, reduced fuel burn, speed cap, top-of-world clamp) and fix
thrust vx sign. Rework camera to frame lander and terrain together
with a smoother altitude-based zoom. Simplify terrain: pads at fixed
zones, cleaner generation loop, zoom-invariant multiplier labels.
Stronger abort burst (kills horizontal speed, halves downward vy).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 14:39:12 +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