1 |
linear_disjoint_y += (linear_direction * linear_speed) |
2 |
if (abs(linear_disjoint_y) >= linear_peak) |
3 |
linear_direction = (-linear_direction) |
4 |
linear_y = linear_y_default + linear_disjoint_y |
5 |
time_elapsed += time_increase |
6 |
if (time_elapsed >= time_max) |
7 |
{ |
8 |
time_elapsed = 0 |
9 |
sign_modifier = (-sign_modifier) |
10 |
} |
11 |
game_maker_cannot_do_math = power((time_elapsed / (time_max / 2 * (1 / sqrt(max_rise))) - sqrt(max_rise)), 2) |
12 |
parabolic_disjoint_y = sign_modifier * (max_rise - game_maker_cannot_do_math) |
13 |
parabolic_y = parabolic_y_default + parabolic_disjoint_y |
14 |
angular_disjoint_y += (angular_direction * angular_speed) |
15 |
if (angular_disjoint_y >= 360) |
16 |
angular_disjoint_y -= 360 |
17 |
if (angular_disjoint_y <= -360) |
18 |
angular_disjoint_y += 360 |
19 |
angular_y = angular_y_default + angular_peak * sin(degtorad(angular_disjoint_y)) |