Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Tweenjs scale with bounceOut and return

Explorer ,
Jul 09, 2019 Jul 09, 2019

I want to create a motion tween in code that scales up and back to the original size with a bounce effect. As far as I have got is (below) this scales up with bounce effect but says at 110% and I need it to return to 100% all within the bounce effect. I can do this with a motion tween with bounce... but need to do this in code.

createjs.Tween.get(this.movieClip).wait(200).to({scaleX:1.10,scaleY:1.10}, 1000, createjs.Ease.bounceOut);

1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 10, 2019 Jul 10, 2019

experiment. eg,

createjs.Tween.get(this.movieClip).wait(200).to({scaleX:1.10,scaleY:1.10}, 500, createjs.Ease.bounceOut).to({scaleX:1.0,scaleY:1.0}, 500, createjs.Ease.bounceIn);

Translate
Community Expert ,
Jul 10, 2019 Jul 10, 2019
LATEST

experiment. eg,

createjs.Tween.get(this.movieClip).wait(200).to({scaleX:1.10,scaleY:1.10}, 500, createjs.Ease.bounceOut).to({scaleX:1.0,scaleY:1.0}, 500, createjs.Ease.bounceIn);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines