New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add stopAnimation/startAnimation to game pasue/resume #3584

Merged
merged 1 commit into from Dec 3, 2018

Conversation

Projects
None yet
2 participants
@knoxHuang
Copy link
Collaborator

knoxHuang commented Dec 3, 2018

Re: cocos-creator/2d-tasks#

Changes:

  • 修复 cc.game.pause 后在 cc.game.resume 后,计算 dt 的 _lastUpdate 没有重制赋值 performance.now(); 导致 dt 变大,出现了 animation 闪现的错误效果

@knoxHuang knoxHuang requested a review from pandamicro Dec 3, 2018

@knoxHuang knoxHuang self-assigned this Dec 3, 2018

@pandamicro pandamicro merged commit 6be4789 into cocos-creator:v2.0-release Dec 3, 2018

1 check passed

ci/circleci: test Your tests passed on CircleCI!
Details

xianyinchen added a commit to xianyinchen/engine that referenced this pull request Dec 5, 2018

Merge branch 'v2.1-release' of https://github.com/cocos-creator/engine
…into v2.1-release

* 'v2.1-release' of https://github.com/cocos-creator/engine: (133 commits)
  refine image type check (cocos-creator#3591)
  modify preloadScene API params (cocos-creator#3583)
  V2.0 skeleton optimize (cocos-creator#3537)
  update alignWithScree in Canvas for fireball/issues/8281 (cocos-creator#3186) (cocos-creator#3585)
  add platform differ on baiduGame, vivoGame and oppoGame (cocos-creator#3582)
  add stopAnimation/startAnimation to game pasue/resume (cocos-creator#3584)
  Fix failed to update particle system _renderSpriteFrame (cocos-creator#3577)
  fixed bar-filled (cocos-creator#3581)
  refine buffer view check (cocos-creator#3578)
  fixed texture image check in wechat game platform (cocos-creator#3576)
  upgrade del to 3.0 (cocos-creator#3572)
  Fix rendering residue for transparent images on Chrome69. (cocos-creator#3357) (cocos-creator#3573)
  add system font to richtext (cocos-creator#3570)
  fix outline enable and disable invaild / rm label updateRenderData CC_EDITOR (cocos-creator#3567)
  optimize children (cocos-creator#3552)
  fixed bar-filled (cocos-creator#3566)
  RichText support node color settings (cocos-creator#3560)
  improve rotateTo/rotateBy (cocos-creator#3565)
  improve rotateTo/rotateBy (cocos-creator#3563)
  fix outline enable and disable is invaild bug (cocos-creator#3564)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment