Hi all...
I'm wondering about meshing new tasks to the main loop... techniques to get this done right.
There's probably a word for it...
But imagine that I am scrolling my viewport rapidly, and I want to, let's say, fade in a hidden button...
Normally I would do this by changing the alpha value in a loop... but when I do a small loop, my viewport freezes until the fade in loop finishes...
SO obviously I need to fade the button in as PART of the main loop, not outside it.
Now imagine that there are a few buttons... all fading in in slightly different but overlapping times...
This means that the tasks have to be divided up and altered slowly over time.
I saw the manual entry on "timer" based motion... and this is perhaps similar?
I would love to see code on how others have solved this kind of issue.
Thanks!