Brief Description: I created an object catching game where the user must left click on the screen to spawn a cube and then right click on the cube when it reaches the lower half of the screen to earn points. The user can change the color and it detects the mouse position on the X,Y plane. The game also features a “bomb” that drops based on a timer that uses a random math class to set to random time intervals in the top left corner. The bomb will explode when clicked upon. The user is able to customize the bombs size, as well as mark a checkbox that checks whether or not they want bombs in their game. The player also has the option to select between two different background colors.

Feature 1: Displays Mouse Position

Input: Mouse Location

Output: There is text on the lower left side of the screen showing the X,Y position of the mouse. 

Feature 2: Spawn falling objects

Input: Mouse Left Click

Output: A cube is spawned at the location of the left click which will then fall down the screen.

Feature 3: “Catch” falling objects

Input: Mouse Right Click on Object

Output: Right clicking on the cube will “catch” it by destroying it and turning it into particles. 

Feature 4: Change Cube Color

Input: Dropdown menu

Output: Use the dropdown menu to change the color of the falling cube.

Feature 5: Scoring System

Input: Right click on falling object once it reaches lower half of screen

Output: Score will increase by one every time the user right clicks on the falling object AFTER it reaches the lower half of the screen

New features added for Project 2-

Feature 6: Bombs

Input: Right click on a falling bomb that automatically falls down from the top of the screen. 

Output: Score will increase and an explosion sound effect will play. 

Feature 7: Timer

Input: Start game for the timer to start and a new bomb to spawn in from the top of the screen

Output: Each time the timer hits 0. A new bomb will fall from the screen. It is set to random intervals of time so each new bomb will have a different amount of time to spawn. 

Feature 8: Bomb Size Slider

Input: Drag slider left or right

Output: Dragging the slider all the way to the left will create smaller bombs whereas dragging it all the way to the right will create larger bombs. 

Feature 9: Change background color

Input: Press the change background button

Output: The background will change between two distinct backgrounds. 

Feature 10: Checkbox to turn on/off bombs

Input: Check the box that activates/deactivates the bombs

Output: The bombs and the timer will stop or continue based on whether you checked the box or not.

StatusReleased
PlatformsHTML5
Authorguynamedaj
Made withUnity

Download

Download
AliJamil_IT201_Project2v1.zip 7.3 MB