when aiming with the laser it should show the full range #203
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented in commit
a902fddonmain.Cause
The aim camera's zoom floor is 0.4, a value sized for the gas bomb's 950-unit range. The laser reaches 2900, so the fit was clamped long before the beam's end came into view: on a 720x1280 screen the far end sat about four times further out than the visible half-screen. The guide line was drawn to full range the whole time - it simply left the screen, so there was no way to see how far the shot carried. Measured rather than guessed: with the drag applied, the aim resolved a target 2900 units away while the camera stopped at the 0.4 floor.
Change
The fleet does read small while aiming. That is inherent to showing a beam roughly fourteen times the width of the formation; it lasts only as long as the aim, and the camera restores afterwards.
Also fixed on the way
tests/_laser_aim_preview.gd, the screenshot fixture for this state, had been rendering an empty screen: it stocked no energy (so the shot was refused before aiming began) and spawned a four-hull fleet into the three-slot cap, which dropped the one ready laser it needed. Both corrected, and it now shows the state it was written for.Verification
test_laser_vessel.gdnow asserts the full range - 2900 plus the beam's half-width - is framed inside the viewport when aiming begins.laser4/4,camera1/1,redraw1/1.No web deployment was performed.