Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: focus on April 14, 2015, 12:30:32 PM
-
Heya, Daniele and all others who read this!
I have one feature request for DOTween:
DOScale(uniformValue, duration);
so we could do
DOScale(0.8f, 1f);
instead of
DOScale(new Vector3(0.8f, 0.8f, 0.8f), 1f);
Or maybe we already have something like this and I just need to read docs better?
Cheers!
-
Ah, right on time! :) I implemented it (http://dotween.demigiant.com/documentation.php?api=DOScale) in the update I pushed a few days ago.
-
D'oh! ;D
You're mind reader?! Awesome, thanks! ^^
-
Hey, I have another question / FR:
...SetLoops(4, LoopType.Yoyo);
can we specify the delay for every Yoyo cycle?
Cheers!
-
Mhmm that would require some additional logic inside Tweeners which would make them slightly slower and slightly heavier, and I would prefer to avoid that. Why not just make a Sequence with an end interval?
-
Ah, nevermind then, I suggested sequence approach so far and looks like we'll leave it as is, thanks for your reply!
-
A feature that would be extremely helpful would be the ability to tween camera properties with the visual editor as cameras are frequently modified in Unity. With that ability, DoTween would become the defacto camera path or cutscene tool for me. Thanks for all the wonderful support.
-
Added that to the mythical todo list! :)
-
Will nice to have:
1. Zero as tween duration. It can be used to instant value changing, but currently causes exception (
2. DOJump tween like cocos2d-x JumpBy action.
-
I can't test it now to be sure, but zero duration tweens are indeed supported. Are you using the latest DOTween version (1.0.665 (http://dotween.demigiant.com/download.php))?
About JumpBy, that's not as useful in a 3D environment, since you never know on which axis you want to jump. Still, to achieve the same effect you can, for example, do a DOMoveX of 3", and a DOMoveY of 1.5" with 2 Yoyo loops.
-
>
I can't test it now to be sure, but zero duration tweens are indeed supported. Are you using the latest DOTween version (1.0.665)?
I test it again and found that exception throws only when I have zero in the sequenced tween. Single tween works fine. (I use 1.0.665.)
> About JumpBy, that's not as useful in a 3D environment, since you never know on which axis you want to jump.
But it helpful for 2d games... Anyway, thanks for tip about yoyo. It save my time!
-
I think I have a solution for the zero duration error. Will push it later today.
And I added JumpBy to my Todo list :)
-
Voilą, if you grab the latest version of DOTween (http://dotween.demigiant.com/download.php), it fixes that bug and adds DOJump (http://dotween.demigiant.com/documentation.php?api=DOJump__2) :)