IT201-006-Jasmin-Lim-Project4
This project is an amalgamation of the previous 3 sprints.
It includes a main menu to switch between the 3 different projects.
Below is the updated list of features:
1. Feature 1: 3D Object Spawner
i. Description: A GameObject is initialized to create a 3D primitive object in the shape of a capsule, depending on where the user right-clicks on the screen
ii. Input: The user right-clicks anywhere within the Unity screen.
iii. Output: An object is placed on the location.
2. Feature 2: Mouse Location Display Capture
i. Description: A text object is referenced through the script to display a vector3 variable called mouse which equals to the Input.mousePosition.
ii. Input: The user moves their cursor on any area within the Unity scene to place the object.
iii. Output: The screen displays the x, y, and z coordinates of the mouse location as text.
3. Feature 3: Color Changer
i. Description: A dropdown menu displays five color options to change the object that has been placed – red, green, blue, yellow, magenta.
ii. Input: The user left-clicks on the dropdown menu.
iii. Output: The color of the object is based on the color that was chosen.
4. Feature 4: Object Scaler
i. Description: A slider is displayed, in which the user can drag the slider from left to right to change the scale/size of the object, from small to large, respectively.
ii. Input: The user left-clicks and drags the slider.
iii. Output: The size of the object changes based on the respective position the slider was dragged to.
5. Feature 5: Digital Clock
i. Description: Uses the DateTime system and the Modulus Operator
ii. Input: DateTime.Now is parsed into a string
iii. Output: The system’s current time is displayed in 12-hour intervals.
6. Feature 6: Time Zone Change and Text Color Changer
i. Description: When the user left-clicks on the dropdown menu, there will be four options – Eastern Standard Time, Central Standard Time, Mountain Standard Time, and Pacific Standard Time. Depending on which time zone is clicked, the color of the text will also change
ii. Input: Click on the preferred time zone on the dropdown menu
iii. Output: The digital clock above will display the system’s current time in that time zone. The color of the text for the time will change.
7. Feature 7: PopUp Message
i. Description: Prefab Object created using Text Input to prompt the user to input their names
ii. Input: The user will provide first name and last name in the desired text input fields.
iii. Output: The inputted names will be updated into the terms and conditions agreement statement.
8. Feature 8: Checkbox Agreement
i. Description: Prefab Object that uses Checkbox Toggle; if checkbox is clicked, the Destroy() method will activate and destroy the popup prefab object.
ii. Input: The checkbox is clicked when the user has inserted their name.
iii. Output: When the checkbox is clicked on, the canvas containing the popup message will be destroyed and the instructions for the app will be displayed on the scene.
9. Feature 9: Distance Slider
i. Description: When the user left clicks the slider and drags it, the object will move a distance.
ii. Input: Drag the slider to the right or to the left.
iii. Output: The slider will move the gameObject a certain distance to the right or left depending on the direction which the user drags it.
10. Feature 10: Reset Button
i. Description: A button that destroys all created objects on the screen.
ii. Input: Click the “Reset” button
iii. Output: All created gameObjects will be deleted from the canvas, allowing the user to create a new scene.
Difference from class example: I used the event listener method to call on the destroy method. Additionally, I used a list to store the gameObjects so that only those objects are targeted.
11. Feature 11: Popup message prefab’s text uses scale animation prompting the user to press the spacebar key.
i. Star prefabs use rotation animation around the Popup message prefab and disappear after the user presses the spacebar key.
ii. Input: The user will press the spacebar key.
iii. Output: The Popup message containing the star prefabs and text animation will disappear from the screen and display a new set of instructions for the user to follow.
** Modified feature from sprint 2**
12. Feature 12: Reset UI button prefab
i. Description: Utilizes scale and mesh renderer animations when clicked; When clicked, all created objects on the screen are destroyed.
ii. Input: When the mouse cursor hovers over the reset button, the button size will increase a little. When the cursor presses on the button, the button size will decrease a little.
iii. Output: All created objects on the screen are destroyed. The star counter resets to zero.
13. Feature 13: Toggle button that activates animations on star prefab objects
i. Description: Star prefabs created by the user will utilize mesh renderer and rotation animations if the toggle is clicked.
ii. Input: The checkbox is clicked.
iii. Output: Stars on the screen will rotate and change colors.
14. Feature 14: Color animation is activated when certain keys (C, W, H) are pressed.
i. Description: When the C, W, or H keys are pressed, the color animation will activate on the created star prefabs.
ii. Input: The user places an object on the screen. Then, they click on the C, W, or H keys.
iii. Output: Depending on which key is clicked, a color animation will appear, changing the object’s color for 1 second.
15. Feature 15: Star counter
i. Description: The counter value text will increment when a star prefab is placed on the screen.
ii. Input: The user places an object on the screen.
iii. Output: The star counter value will increment
Status | Released |
Platforms | HTML5 |
Author | jasmin_lim |
Made with | Unity |