Report as inappropriate.
Moves a ship around a map using coords.
Press W/S to inc/dec speed of ship.
It calculates coords based on an array of coords for each steps/turns based on speed too, in case move() skips the coords in the base array.
Not sure how other scenarios do this, but it'll work fine for my tower defense.. unless you guys have a more clever approach!
1530 views / 5 in the last 7 days
1 vote | 0 in the last 7 days
Want to leave a comment? You must first log in.