Increased move animation a little.

This commit is contained in:
Sander Schobers 2019-12-28 19:36:48 +01:00
parent efea350ae9
commit 5c30a4bc01

View File

@ -63,7 +63,7 @@ func newEntityMoveAnimation(e *entity, to geom.Point) *entityMoveAnimation {
}
func (a *entityMoveAnimation) Animate(start, now time.Duration) bool {
const duration = 160 * time.Millisecond
const duration = 210 * time.Millisecond
progress := float32((now-start)*1000/duration) * .001
from, to := a.from.ToF32(), a.to.ToF32()