1 decade ago by badabam
I want to move a character to some waypoints.
These waypoints are each represented by a blinking box. Right now, they all blink in total disorder, because the are spawned each on a click by the user and start with the animation when the get initialized.
How is it possible to let them blink all together, i.e. synchronized? I thought of a global timer and set the animationframe on update, on a specific delta and reset that timer globally.
But maybe there is a better way! Do you have any suggestions?
Thank you very much!
- Jerry
These waypoints are each represented by a blinking box. Right now, they all blink in total disorder, because the are spawned each on a click by the user and start with the animation when the get initialized.
How is it possible to let them blink all together, i.e. synchronized? I thought of a global timer and set the animationframe on update, on a specific delta and reset that timer globally.
But maybe there is a better way! Do you have any suggestions?
Thank you very much!
- Jerry