Score formula
24 days ago
Apulia, Italy

Ok so saddogimmo dug trough the game's code and found the score's formula. The game runs at 50 FPS:

The bonus is calculated: 2000-floor(20*(CurrentFrames/TimeBorders)). If this results negative, the bonus is zero.

TimeBorders is the list of all maximum time/2 you can do on a level. Ex. on level 1 the maximum time is 4 seconds, so TimeBorders is 2.

Also, the seconds in-game get rounded to the nearest integer.

Score calculator: https://www.desmos.com/calculator/bf2usfk8bq

Editado por el autor 24 days ago
Apulia, Italy

The bonus formula I've provided here is a mathematical simplification of the source code, thus it is not the original; however, it yelds the exact same result. Here is the full code for the bonus score calculation:

private function calculateBonus() : void

{

var *loc1*:Number = NaN;

if(getCurrentTime() <= timeBorders[_parent._currentLevel - 1] * 2)

{

*loc1* = timeBorders[_parent._currentLevel - 1] / 50;

bonus = Math.floor((timeBorders[_parent._currentLevel - 1] * 2 - getCurrentTime()) / _loc1_ * 20);

}

else

{

bonus = 0;

}

}
Editado por el autor 24 days ago
Estadísticas del juego
Seguidores
8
Partidas
224
Jugadores
22
Corridas recientes
Últimos hilos
Publicado 23 days ago
0 respuestas
Publicado 23 days ago
3 respuestas
Publicado 24 days ago
1 respuesta
Publicado 25 days ago
1 respuesta
Publicado 2 years ago
0 respuestas
Moderadores