spaceship/world
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski ddc3de595e #126: asteroids are only created off screen
The guard was a 420px bubble around the fleet, which is smaller than the
window - so a rock could and did materialise in plain sight, several hundred
pixels away but well inside the view. "Not on the fleet" was never the rule
the player notices; "not in view" is.

The keep-out area is now the visible world rect, grown by a margin so a rock
placed just outside does not drift into view on the frame it was created.
The old bubble survives as a FLOOR under it: what to use when the viewport
cannot be measured - no camera yet on a scene's first frame, or a headless
run with no window - and for a heavily zoomed-in view where the screen is
narrower than the distance a rock needs to be safe.

Candidates inside are pushed out through the nearest edge rather than
dropped, so the field keeps its density around the fleet instead of thinning
out exactly where the player is looking.

Measured: keep-out 2200x2200 over a 1920 screen, nearest asteroid 1899 units
out where it used to be allowed at 420.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 20:57:55 +02:00
..
Asteroid.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Asteroid.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Asteroid.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
AsteroidField.gd #126: asteroids are only created off screen 2026-08-24 20:57:55 +02:00
AsteroidField.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
ExplorationTracker.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
ExplorationTracker.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
IntroDirector.gd #125: slow the prologue down, and give the breach a real black hole 2026-08-24 13:25:10 +02:00
IntroDirector.gd.uid Add the .uid files Godot generated for the newest scripts 2026-08-24 12:10:41 +02:00
Main.tscn #125: slow the prologue down, and give the breach a real black hole 2026-08-24 13:25:10 +02:00
Starfield.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Starfield.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
WorldGen.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
WorldGen.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
WorldMap.gd #108: the prologue - the convoy, the ambush, and the breach 2026-08-23 20:59:12 +02:00
WorldMap.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
WorldMapContent.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
WorldMapContent.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00