I wrote and published a plugin to the github for free. It went through few iterations and currently I’m confident enough to show it to you guys.
This code plugin provides functions that drastically improve the quality of life during the implementation of game flow in C++.
It works very well with gameplay programming, UI programming and in many other situations.
It has function for delaying the code execution
FFlow::Delay(this, 2.f, [this](){
// Code to execute after 2 seconds.
});
for quickly deploying tickers
FFlow::AddTicker(this, 10.f, [this](float DeltaTime)
{
// Code to execute every tick for 10 seconds.
});
for executing code after meeting special conditions
FFlow::WaitAndExecute(this, [this]()
{
// Return true when you want to execute the code below.
return bIsReadyToUse;
},
[this]()
{
// Implement code to execute when conditions are met.
});
and many more.
For the most of the functions it also has Blueprint nodes.
It has been used in few projects I’ve been working on and it helped me and my teammates a lot. I hope you’ll find it useful too.