mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Implements smoother panning around the map for keyboard controls
This commit is contained in:
parent
3c1ebc25ca
commit
17debf49e6
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ module.exports = class Camera extends CocoClass
|
|||
@newZoom = newZoom
|
||||
@tweenProgress = 0.01
|
||||
createjs.Tween.get(@)
|
||||
.to({tweenProgress: 1.0}, time, createjs.Ease.getPowInOut(3))
|
||||
.to({tweenProgress: 1.0}, time, createjs.Ease.getPowOut(4))
|
||||
.call @finishTween
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue