orbit/dev
Brian Fertig 2b37be7494 Fix asteroid rock overlap and add distinct compass color for clusters
- Replace the old per-rock placement retry loop with a deterministic pairwise relaxation pass (relaxRockGaps) that enforces a gapFactor x (r1+r2) separation between every pair, so rocks keep a subtle visible gap instead of interpenetrating
- Add cluster.gapFactor (default 1.12) and asteroids.compassColor (#c8d2e0) config keys, with updated comments in data/asteroids.json and SystemGenerator.js
- Tint the DiscoveryCompass arrow per target: bake the arrow texture white and tint it to the target's color (worlds keep theme neon cyan, clusters use their light gray)
- Extend dev/asteroids.test.mjs to assert every rock pair respects the gapFactor separation
2026-09-04 08:45:28 -06:00
..
asteroids.test.mjs Fix asteroid rock overlap and add distinct compass color for clusters 2026-09-04 08:45:28 -06:00
cdp-eval.mjs Main menu: cyberpunk UI overhaul + shared theme layer 2026-09-03 16:27:25 -06:00
cdpshot.mjs Add command deck UI and research/build data layer 2026-09-03 20:33:04 -06:00
discovery.test.mjs Rework solar system layout to orbit rings with minSpacing/maxNeighbor ru 2026-09-03 23:01:47 -06:00
galaxy.test.mjs Give the home world a real name from the bank, and show object names on the compass 2026-09-03 22:41:06 -06:00
planet.test.mjs Add seed-deterministic planet frame pools 2026-09-03 15:10:24 -06:00
research-builds.test.mjs Add CRT scanlines and RGB pull-apart to the command deck 2026-09-03 20:42:33 -06:00
ship-behavior.test.mjs Replace procedural ship sprite with spritesheet art and facing offset 2026-09-03 21:40:33 -06:00
smoke-game.mjs Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
starfield.test.mjs
test-game.html Add the home planet: a solid world the ship can approach but not enter 2026-09-03 14:44:01 -06:00
tether.test.mjs Add the tether: the player's range, a level-1 zone (5120 px) with a glitchy barrier rim 2026-09-03 22:03:29 -06:00