Nice addon! Loved from the first run.
I want to suggest some changes in rangeCircle phase (I can make a separate addon but you have this code overlapped, so it whould be better to use it inside yours)
Reasons: current range circle is useless because: 1) it shows range for next turn at a destination, while I need to know the range for current position and possible on the next turn 2) it shows range based on engine level, while I can use higher warp in critical situation, especially with light ships and gravitonics.
My implementation just makes range circles like VPA: two circles from the current point with 81/162 range.
this.drawCircle(ship.x, ship.y, 81 * this.zoom, { stroke: "cyan", "stroke-width": "1", "stroke-opacity": "0.1" }); this.drawCircle(ship.x, ship.y, 162 * this.zoom, { stroke: "cyan", "stroke-width": "1", "stroke-opacity": "0.1" });
|