In this part of events, the decrease of acceleration does not work, but with each subsequent pressing of Space it increases.
Develop games in your browser. Powerful, performant & highly capable.
F = 0 Толчок = 0 Press space: Accelerate 30 Толчок=15000 F=0+2 Accelerate 30-2+2 = 30 Толчок = 14000 F=2+2 Accelerate 30-2+4 = 32 Толчок=13000 etc.. F=28+2 Accelerate 30-2+30 = 58 Толчок=0 Press space again: Accelerate 30 Толчок = 15000 F=30+2 Accelerate 30-2+32 = 60 Толчок = 14000 F=32+2 Accelerate 30-2+34 = 62 Толчок = 13000 etc... F=58+2 Accelerate 30-2+60 = 88 Толчок = 0
It's doing what you're telling it to do, increasing the speed.