There is no max speed - on a big enough stage, you can get going as fast as you want. But on the sample battle stages (eg battle1) with a width of 1200, if you just go max speed horizontally, changing thruster direction after bouncing off the walls, my rough calculations say you could get up to about 55.
My logic: start at one wall, get up to speed 49 => 49 ticks * avg speed of 24.5 = 1200 total distance (and you hit the wall). Then you bounce and have a speed of 24.5, get up to 54.5 => 30 ticks * avg speed 39.5 = 1185 (and you hit the wall again, because a ship has 16 diameter, making effective stage width 1184).
You could also consider using log(speed) instead of speed and capping at something crazy like 1000.
Hope that helps!
|