I created an application that creates spheres wherever the user clicks or holds the mouse button. These spheres are defaulted to be white but can be different colors by clicking on the color wheel in the top left corner. There are options to change the size of the spheres by using the “Scale” slider, randomize the color of the spheres, and change the lifetime of the spheres.

Feature 1: Display Mouse position

Input: Mouse location

Output: Text is displayed on the left side of the screen, showing X, Y, and Z of the mouse cursor. This is mandatory, so it couldn’t be changed.

Feature 2: Create Objects

Input: Mouse Left Click

Output: A sphere is created at the point where the user clicks. This is mandatory.

Feature 3: Randomize Color

Input: Toggle

Output: Toggle on or off to randomize the colors of the spheres. The instructor’s example doesn’t have this feature to be optional.

Feature 4: Change Color

Input: Click on Color Wheel.

Output: Click on the desired color on the color wheel to change the color of the spheres. This is different from the instructor's example because the user can see which color they will pick.

Feature 5: Change Size

Input: Slider

Output: Depending on where the slider is, the size of the sphere changes, and the scale factor is displayed to the user. This is different from the instructor’s example because their example doesn’t have this feature.

Feature 6: Change Lifetime

Input: Dropdown menu

Output: The user has 4 options: 3 seconds, 5 seconds, 10 seconds, and Never. This determines how long the objects that are created last. This is different because the user is in control of how long the object can last.

StatusReleased
PlatformsHTML5
Authorar333
Made withUnity