It201-018-project4-ashutosh-chalise
All Features:
- Feature 1: Plane Movement
Input: Left Arrow (←) - Moves the plane to the left.
Right Arrow (→) - Moves the plane to the right.
Process: The plane moves horizontally across the screen.
Output: The plane’s position updates accordingly.
- Feature 2: Dropping Bombs
Input: Spacebar - Drop the currently selected bomb.
Process: A bomb (based on the user-selected type) is instantiated and falls downward.
Output: The bomb moves toward the ground and interacts based on its type.
- Feature 3: Bomb Selection System
Input: Mouse Click on Dropdown Menu - “Select a bomb type” -
Select Regular Bomb (Basic explosion).
Select Cluster Bomb (Splits into multiple mini-bombs).
Select Mega Bomb (Mega explosion 5x impact).
Process: The drop-down menu displays available bomb options.
The player clicks to select a bomb.
Output: The selected bomb type updates visually.
- Feature 4: Limited Ammo & Reloading
Input: "R" Key - Reload bombs when supply is empty.
Process: The game tracks the remaining bombs.
If out of bombs, pressing “R” reloads them.
Output: Bomb count resets, allowing the player to continue dropping bombs.
- Feature 5: Destruction Visualization
Input: No direct input (triggered automatically on impact).
Process:
When a bomb hits a target, the destruction level is calculated based on bomb power.
A damage UI appears, showing the destruction percentage.
Destroyed scene.
Output:
A destruction bar (UI) appears, showing the damage dealt to the target.
Objects visually change to damaged versions or disappear.
Craters appear where bombs hit.
- Feature 6: Theme Selector (Environment Change)
Input: Mouse Click on Dropdown Menu - “Theme Type” ( Winter | Desert | Mountain )
Process: Changes skybox, ambient lighting, sun color, and ground material based on selected theme.
Output: The entire scene environment updates visually to match the chosen setting.
- Feature 7: Target Marking System
Input: Mouse Left Click - Select a position on the ground or object.
Process: A visible red marker appears at the clicked location. Bombs are automatically guided toward this marker when dropped, regardless position of the plane.
Output: A targeting icon is shown, bomb trajectories adjust, and bombs are dropped to that specific location.
- Feature 8: Day/Night Toggle
Input: "N" key on the keyboard - Toggle day and night mode.
Process: Switches between two lighting states by changing the skybox, directional light color, intensity, and ambient settings.
Output: The scene toggles between daylight and nighttime atmosphere.
- Feature 9: Plane Type Selector Dropdown
Input: Mouse Click on the Dropdown Menu - “Select Plane Type” ( Speed Jet | Heavy Bomber | Stealth Glider )
Process: Clicking the dropdown changes the active plane prefab, spawning a new model at a preset position, and destroying the previous one.
Output: A new plane with a distinct appearance and stats(Speed) is spawned into the scene.
- Feature 10: Digital Clock
Input: Press ‘T’ on the keyboard to show/hide the clock
Process: TextMeshPro UI element shows the current system time in HH:MM: SS format or hides the time depending on the input.
Output: A digital clock appears on the screen, showing real time, or it disappears depending on user input.
- Feature 11: Camera Zoom to Marker (Smooth Zoom In and Out)
Input: Press the Z key on the keyboard – Zoom in toward the placed marker
Press the X key on the keyboard – Zoom out step-by-step to previous positions
Process: When the user clicks on the terrain, a marker is placed. Pressing Z moves the camera toward the marker. Pressing X smoothly moves the camera back to the previous zoom position.
Output: The camera angle is changed to the zoomed position. Pressing X undoes zooms in reverse order, giving the user full control over zooming behavior
- Feature 12: Animated Chicken Spawner
Input: Press the C key on the keyboard – Spawns chickens at all target objects (cube, capsule, cylinder)
Process: When the user presses C on the keyboard, a specified number of chickens spawn from each target object managed under TargetManager. Each chicken plays a running animation using an Animator Controller and moves in a randomly chosen direction.
Output :Chickens appear at each target location and scatter across the terrain while animating, creating a dynamic, humorous effect.
- Feature 13: Plane Altitude Control
Input: Drag the vertical UI Slider labeled "Altitude"
Process: As the user moves the slider, the plane’s vertical position is updated in real time.
Output :The plane moves smoothly up or down in the scene depending on the slider’s value, giving the user altitude control during gameplay.
- Feature 14: Fog Control (Using Layers)
Input: Press the F key to turn fog on or off.
Process: When the F key is pressed, the camera’s mask updates to either hide or show that layer, effectively toggling the fog’s visibility in the scene.
Output: A foggy visual effect appears or disappears from the game view depending on the player’s input.