This question isn't strictly related to B4X, just something I'm working on that's not in B4X and I need to manually animate a couple of items and I can't find my old example snippets for it...
I need to move an object and change it's color over a few seconds and I'm having an aneurism coming up with the formulas for x/y and color-percentages based on elapsed time (simple linear transitions, nothing fancy).
I know I've seen somewhere here in posts examples of both "ColorFromTime" and "PositionFromTime" functions used in the days before ".SetWhateverAnimated" was available and for the life of me I can't find either one after searching the forum for half-an-hour.
So, rather than continuing to bang my head against this particular wall, I figured I'd ask If anyone has an examples of those two routines in B4A, and maybe I can put this particular problem to bed before the weekend
TIA!
I know I've seen somewhere here in posts examples of both "ColorFromTime" and "PositionFromTime" functions used in the days before ".SetWhateverAnimated" was available and for the life of me I can't find either one after searching the forum for half-an-hour.
So, rather than continuing to bang my head against this particular wall, I figured I'd ask If anyone has an examples of those two routines in B4A, and maybe I can put this particular problem to bed before the weekend
TIA!