Skip to content

carlitodavis/Mission-Demolition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mission Demolition - Unity Project

🎮 Project Overview

Mission Demolition is a 3D physics-based game made in Unity where the player uses a slingshot to launch projectiles at castles. The objective is to hit a designated target (goal) on each castle to advance through multiple levels. After completing all levels, a Game Over screen appears with the option to restart the game.

📁 Project Folder Structure

Assets/ ├── Scripts/ ← All custom C# scripts ├── Prefabs/ ← Projectile, Castle prefabs ├── Materials/ ← Materials used for environment and objects ├── Audio/ ← Background music and sound effects ├── Scenes/ ← Game scene(s)

🚀 How to Play

  • Hover over the slingshot to reveal the launch point.
  • Click and drag the mouse to pull back the projectile.
  • Release to launch the projectile toward the castle.
  • Hit the goal area to complete each level.
  • After completing all 4 levels, the Game Over screen appears.
  • Click "Play Again" to restart the game from Level 1.

🛠️ Game Features

✔ 4 unique castle levels
✔ Projectile-based physics gameplay
✔ Dynamic follow camera
✔ UI showing level and shots taken
✔ Automatic projectile cleanup
✔ Goal detection system
✔ Game Over screen and restart option
✔ Background visuals and atmospheric effects

📄 Script Summary

  • Slingshot.cs
    Handles aiming and launching the projectile. Uses a LineRenderer to show the rubber band.

  • MissionDemolition.cs
    Manages level progression, shot tracking, UI updates, and Game Over logic.

  • Projectile.cs
    Controls projectile movement and checks when the projectile has stopped moving.

  • ProjectileLine.cs
    Adds a visual trail behind the projectile using a LineRenderer.

  • FollowCam.cs
    Makes the camera follow the launched projectile dynamically.

  • Goal.cs
    Detects when the castle goal has been hit to trigger level completion.

  • GameOverManager.cs
    Displays the Game Over panel and manages the "Play Again" button.

  • CloudCover.cs
    Moves background clouds for visual atmosphere.

  • RigidbodySleep.cs
    Checks if Rigidbody objects have gone to sleep (stopped moving). Useful for optimization and debugging.

✨ Enhancements (Extra Credit)

Rubber Band Visual (2 pts)

  • LineRenderer shows a visual rubber band stretching from the slingshot to the projectile.

Sound Effect (2 pts)

  • A snapping sound is played when launching the projectile for better feedback.

Game Over Screen (1 pt)

  • A panel appears after completing all 4 levels, with a dimmed background and a "Play Again" button.

Background Music (2 pts)

  • Music automatically plays in a loop from the start of the game.

📂 Created by: [Carlito Davis]
📆 Last Updated: October 11th. 2025

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages