mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:40:46 +00:00
7c163e2361
## Description: Change nuke trajectory to follow a curve, and add a trail behind them.  ### Details: - Use a look-up table to approximate the distance travelled, so the speed remains constant along the curve - The nuke speed is higher than a single pixel, so draw a line behind for the trail - Added a new "utility" file for the Bresenham/Bezier algorith: please tell me if that's ok ### Edge cases (literally the edges): The control points remains in the map so the curve can never go outside:  ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: <DISCORD USERNAME> --------- Co-authored-by: Scott Anderson <scottanderson@users.noreply.github.com>