Feature 1: Scale Factor of the Object

 

Input: The user can adjust the scale factor of the spawned objects using a slider (scaleFactorSlider).

Output: The output of this feature is the scaling of the spawned objects based on the slider value.

 

Feature 2: Scoring of the Game

 

Input: The user scores points by clicking on spawned objects within a limited time frame.

Output: The output is the updated score displayed on the UI (scoreText).

 

Feature 3: Speed Slider

 

Input: The user can adjust the speed at which objects are destroyed using a slider (destroySpeedSlider).

Output: The output is the destruction of objects at a speed determined by the slider value.

 

 

 

Feature 4: Time Dropdown

 

Input: The user selects a game duration from a dropdown menu (timeDropdown).

Output: The output is the adjustment of the game time based on the selected duration. (User can choose 15 seconds [Default], 30 seconds, or 60 seconds)

 

Feature 5: Game Timer

 

Input: The game timer counts down the remaining time until the end of the game.

Output: The output is the updated timer displayed on the UI (timerText). When the timer reaches zero, the game ends.

 

Feature 6: Click on Object to Destroy

 

Input:

  • Mouse input: The player interacts with the game by clicking the left mouse button.
  • Raycasting: A ray is cast from the camera to detect if it intersects with any spawned object.

 

Output:

  • Object Destruction: If the ray intersects with a spawned object, that object is destroyed.
  • Score Update: Upon object destruction, the player's score is updated based on the time elapsed since the object was spawned.

 

Feature 7: Random Spawner

 

Input:

  • Start Button: Activated by the player to start the game.
  • Timer: Game timer determines when to stop spawning objects.
  • Update loop: Continuously runs in the game.

 

Output:

·       Spawned Objects: Objects are instantiated at random positions on the screen within the viewport area.

StatusReleased
PlatformsHTML5
Authorchrisnjit
Made withUnity