FTween - Simple to use tweening library for flax

FTween
Simple to use tweening library for flax.
Github: https://github.com/honzapatCZ/FTween

As simple as:

using FTween;
Actor.FTLocalMoveY(100, 5).Start();

We even have sequences

Sequence seq = new Sequence();
seq.Append(Actor.FTLocalMoveY(100, 5));
seq.Insert(actor2.FTLocalMoveY(100, 5));

seq.Append(Actor.FTLocalMoveX(100, 5));
seq.Insert(Actor.FTLocalMoveZ(100, 5));
seq.Insert(actor2.FTLocalMoveX(-100,5));
seq.Insert(actor2.FTLocalMoveZ(-100, 5));
                        
seq.Append(Actor.FTLocalMoveY(300, 5));
seq.Insert(actor2.FTLocalMoveY(300, 5));

seq.OnComplete(() => { Debug.Log("Sequence ended"); });
seq.Start();

its AWAITABLE

Debug.Log("Moving along X");
await Actor.FTLocalMoveX(100, 5).Start();
Debug.Log("Done");
4 Likes

Thank you for making this! Definitely a must have for any engine. :upside_down_face:

Thanks for your contribution
Maybe author @mafiesto4 shoube have a tween-lib inside Flax Engine