Skip to content

yoshi-4/unity-game-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Cosmic Demolition

Demolish buildings in a cosmic city, power up through destruction, unleash devastating special attacks, and destroy the Planet Core before time runs out!

Play Now on unityroom

Gameplay Demo

🎯 About

Cosmic Demolition is a fast-paced action game built with Unity where players rampage through a futuristic space city, demolishing buildings with explosive destruction effects. As you destroy buildings, your power builds up — once fully charged, you transform and unlock a devastating special attack. The ultimate goal: reach a score of 1,000,000, break through the Planet Core's barrier, and obliterate it before time runs out.

This project was developed alongside my mentoring work at Life Is Tech, Inc. in Tokyo, where I guided high school students through game development using Unity and C#. It demonstrates core game development concepts including physics-based destruction, particle systems, power-up mechanics, and game state management.

🕹️ Play the Game

👉 Play instantly in your browser on unityroom!

No download or installation required — just click and play!

🎯 Objective

Details
🏆 Ultimate Goal Destroy the Planet Core
✅ Win Condition Reach a score of 1,000,000 within the time limit while maintaining your energy, then destroy the Planet Core
❌ Fail Condition Time runs out OR energy is depleted

🎮 Controls

Action Input
Move W A S D
Look Around Mouse
Normal Attack Left Click
Special Attack Right Click (unlocked at 5,000 score)
Fly / Descend Space

🏗️ Targets & Building Types

🔵 Normal Facilities (No Aura)

  • Destructible by all attacks
  • Some facilities drop energy recovery items upon destruction

🔴 Reinforced Facilities (Red Aura)

  • Can only be destroyed by Special Attack
  • Yield high scores — worth the effort!

⚠️ Hazardous Facilities (Trap)

  • Destroying these drains your energy
  • Some are visually indistinguishable from normal buildings — proceed with caution!

🌐 Planet Core (Final Target)

  • Becomes attackable only after reaching a score of 1,000,000+
  • Destroy it to complete the mission!

⚡ Power-Up System

  1. Destroy buildings → Power gauge fills up
  2. Gauge fully charged → Character powers up and transforms
  3. Special Attack unlocked → Use Right Click to unleash it on reinforced buildings
  4. Resource management is key: collect energy recovery items while avoiding traps

📸 Screenshots

Cosmic City Building Auras
Cosmic City Overview Building Aura System
Destruction Effects Power-Up Transformation Special Attack
Explosive Destruction Power-Up Mode Special Attack

🎬 Key Features

💥 Satisfying Destruction

  • Spectacular particle effects on every building destroyed
  • Screen-shaking impact feedback for an immersive experience
  • Debris and explosion effects that feel incredibly satisfying

🔥 Strategic Depth

  • Energy management: Recovery items vs. energy-draining traps
  • Risk vs. reward: High-scoring red aura buildings require special attacks
  • Time pressure: Must reach 1,000,000 before the clock runs out

🛠️ Tech Stack

Technology Purpose
Unity Game engine
C# Game logic, physics, and scripting
Particle System Destruction effects and visual feedback
Unity Physics Building destruction and debris mechanics

🏗️ Architecture & Design

Core Systems

  • Destruction System — Handles building damage, breakage physics, and debris spawning with satisfying visual feedback
  • Aura System — Assigns visual indicators to buildings, determines destructibility rules, and calculates score multipliers
  • Power-Up System — Tracks destruction power accumulation, triggers character transformation, and unlocks special attack
  • Energy Manager — Manages player energy, handles recovery item pickups, and processes energy-drain trap effects
  • Score Manager — Calculates points per destruction, tracks progress toward the 1,000,000 target, and controls Planet Core barrier state

🛠️ Run from Source

  1. Clone the repository:
    git clone https://github.com/yoshi-4/unity-game-demo.git

About

A Unity game developed as an educational demo for mentoring high school students in game development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors