Three Waiting Button Animations

game

Here are a series of 3 buttons. Each play a small animation when pressed. In order to prevent an overlapping of the playing of those animations, the pressing of each button will cause a currently "open" button to play its exiting animation before playing its own. This is handled through custom callback functions defined at the end of each of those buttons' animations. This way, each button, when pressed, will know when its safe to play its own animation (as it has to wait for other animations to complete).

Developer: Trevor McCauley
Language: en