Download

[Open-source] C++ Tween Manager

Hey folks, I have created a simple Tween Manager to use within my projects, it’s a simple header & source file you can integrate within your projects. It supports primitive types and some UE structs like FVector, FRotator etc. It allows async tweening of any variable via global access.

Usage Example:

// Interpolates member variable myFloat from 0 to 10 in 0.5 seconds.
CTweenManager::Get(ETweenID::MyTweenID)->Interpolate(&myFloat, 0.0f, 10.0f, 0.5f);

// Shakes member variable myFloat by the amount of 3.0f with the speed of 12.0f for 2 seconds.
// Pass the duration as -1.0f if you want infinite shake.
CTweenManager::Get(ETweenID::MyTweenID)->Shake(&myFloat, 3.0f, 12.0f, 2.0f);

// You can stop the tweens as such.
CTweenManager::StopTween(ETweenID::MyTweenID);

You can find the installation guide & source on Github. It is only usable via C++ right now, I plan to add support for Blueprint functions as well. Let me know what you think, I would be glad for any feedback, ideas, recommendations or contributions on Github.