playMaker

Author Topic: Easing vs. Tweening  (Read 3158 times)

Sid

  • Playmaker Newbie
  • *
  • Posts: 32
Easing vs. Tweening
« on: July 31, 2015, 06:58:31 PM »
How does the common Ease Float Action compare to something like DOTween?

Is it bad practice to ease a lot of floats, and should one look into replacing easing with DOTween? 

I cannot seem to locate information on common easing versus tweening.

Thank you.

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Easing vs. Tweening
« Reply #1 on: August 01, 2015, 04:59:39 AM »
Good question.. also interested. Would love to know if you ever find the answer.

All I can say is that DOTween is build for a specific purpose and it works very well so if you want to tween just use DOTween or LeanTween since they are built for that purpose. The animation is very smooth with those tools and they are very well optimised for mobile (incl. PC for large amount of tweens such as 2000+ simultaneous transform tween). Itween is a no no for mobile use as it is really badly optimised.

Stats from DOTween:
4,000 transforms looping around
                                Average FPS                 Startup time
DOTween                         68 FPS                          5 ms
HOTween                         63 FPS                          30 ms
LeanTween                      68 FPS                          3 ms
GoKit   iTween                  65 FPS                          130 ms
ITween                             38 FPS                          229 ms


« Last Edit: August 01, 2015, 05:04:24 AM by dudebxl »

Sid

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Easing vs. Tweening
« Reply #2 on: August 07, 2015, 12:37:30 PM »
Thanks for the stats, dudebxl!  Also, thanks so much for all the actions you release, including DOTween.

I guess that the simple float ease action should be relatively low cost.

Sid