Delmar Tenempaguay IT201-451 Project 3
Feature 1: Change the speed of the obstacles. This determines the difficulty of the game.
Input: Dropdown
Output: Use the Dropdown to select how fast the animations of the obstacles are played.
Process: Multiple if statements are used to select a different speed for the animation, based on what input the user selected from the dropdown.
Feature 2: Stop the obstacle animation with the use of a toggle.
Input: Toggle
Output: Select the toggle to on to completely stop the animations of the obstacles and off to start the animation again.
Process: Uses a boolean value that controls whether the speed of the animation should be 0 or 0.7 and it is toggled.
Feature 3: Start an animation from the main menu for the background using a button
Input: Button
Output: Click the UI button to start the animation in the background.
Process: When the button is clicked, it changes the parameter value of a method so that a conditional statement can be met to change the background.
Feature 4: Stop the background animation using a button.
Input: Button
Output: Click the UI button to stop the animation in the background.
Process: A method is used to change the speed of the animation to 0.