Skip to content

Commit c34bc3f

Browse files
author
Kalle Fagerberg
committed
Increase acceleration
1 parent a978aa2 commit c34bc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/scenes/racebattle/player.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
MoveAwayFromEachOtherThreshold = 5.0
3939

4040
/// Acceleration from 0 to max speed, in %/frame
41-
MoveAcceleration = FPSInv / 4.5 // 0%-100% in 4.5sec
41+
MoveAcceleration = FPSInv / 2.5 // 0%-100% in 2.5sec
4242

4343
// Deacceleration (break force) to go from max speed to 0, in %/frame
4444
MoveDeacceleration = FPSInv / 1.0 // 100%-0% in 1sec

0 commit comments

Comments
 (0)