This week labs is to make a serial application that controls one of the animation projects. Since I’ve already have my game running Mike. I’m going to design a controller for it and add some button for special functions.
For yellow button, when you press it, all the balls would be pushed away from Mike. This function would save Mike for a short time. But when the ball move out of the canvas, it will become larger and larger, so you should be careful about using this skills.
For red button, when you press it, all the balls would stand still so Mike could earn some extra time to run away from a narrow situation. For experiment, I did not add the time duration for this button. Later I will add a duration time for this skill and also the refresh time.