Joel Collado - IT201-450 - Project-1
For my Unity Project I created a range based shooter where the goal is to place your own targets using the right mouse button and the left mouse button to create projectiles that shoot towards a target. There is also a feature for a button that enables or disables the emissive layer for both 3D objects and can change the color type with a dropdown menu.
Feature (1): Display Mouse Position
Input: Mouse move location
Process: assign mouse X, Y position to text object
Output: Text is displayed in the upper left corner showing X and Y of the mouse.
Feature (2): Projectile/Target Object Spawn
Input: Left/Right Mouse click
Process: Creates a new object the base on the mouse input will either fire a projectile (Left) or spawn an object (Right) and both will fade over time.
Output: (Left) Object is shot, (Right) Object is placed Description: Object behaves based on click type (Left) Object is shot, (Right) Object is placed
Feature (3): Emissive Button
Input: UI Button
Process: Clicking on the button would either toggle emission state on or off on the 3D objects.
Output: Objects spawn from the mouse will either be glowing or not
Feature (4): Emissive Color Dropdown
Input: Left Click Dropdown Menu
Process: If the emissive is on the click on the dropdown and it would show a list of colors to select which are White, Yellow, Green, Cyan, Blue, Magenta, and Red. To change the emission color value of the object material click on the type of color from the list and if the emissive is on the color would change to the specific color.
Output: Change the color type of the emissive objects (Only if the emissive is on)