Countdown: Difference between revisions

Created page with "The '''countdown''' is to the period at the start of each race before the timer starts, where the player only has limited control over the vehicle. == Overview == The countdown lasts for the first 239 frames of the race. During the countdown, max speed is set to 0; additionally, bikes are put into a "slow fall" state, where they move downwards at a constant 1.3 u/f instead of being affected by gravity's constant 1.3 u/f^2 acceleration. Controls a..."
 
m added latex
Line 1: Line 1:
The '''countdown''' is to the period at the start of each race before the timer starts, where the player only has limited control over the vehicle.
The '''countdown''' is the period at the start of each race before the timer starts, where the player only has limited control over the vehicle.


== Overview ==
== Overview ==
Line 7: Line 7:


== Start boost ==
== Start boost ==
As soon as the countdown ends, the vehicle can receive a [[Boost information | boost]] or burn out (spin hitstun animation) according to the start boost charge value. It is clamped between 0 and 1, and is updated every frame according to the state of the A button. If A is pressed, the charge is set to 0.02 + 0.982 * previous value; if A is not pressed, it is set to 0.96 * previous value. These recursive equations can be rewritten as such: if A is pressed, x = 10/9 - 10/9*(0.982)^n; if A is not pressed, x = (0.96)^n, where n is the number of frames the button is held or released.
As soon as the countdown ends, the vehicle can receive a [[Boost information | boost]] or burn out (spin hitstun animation) according to the start boost charge value. It is clamped between 0 and 1, and is updated every frame according to the state of the A button. If A is pressed, the charge is set to [0.02 + 0.982 * (''previous value'')]. If A is not pressed, it is set to [0.96 * (''previous value'')]. These recursive equations can be rewritten as such:
 
If A is pressed,<br>
<math> \displaystyle x = \frac{10}{9}\left(1 - (0.982)^n\right)</math>
 
If A is not pressed,<br>
<math> x = (0.96)^n</math><br>
where <math>n</math> is the number of frames the button is held or released.


The start boost increases max speed by 20%, grants an IV acceleration of 3 u/f^2, and lasts for a variable number of frames depending on the start boost charge. The possible start boost lengths are listed in the table below.
The start boost increases max speed by 20%, grants an IV acceleration of 3 u/f^2, and lasts for a variable number of frames depending on the start boost charge. The possible start boost lengths are listed in the table below.