This repository is used for teaching the ECC co-op class. It is a clone of the classic arcade game Breakout, originally created by zigurous.
Brick Breaker is a 2D arcade game where the player controls a paddle to bounce a ball and break bricks. The goal is to clear all bricks on the screen to advance to the next level. The player starts with 3 lives and loses a life if the ball falls below the paddle. The game ends when all lives are lost.
- Multiple levels with increasing difficulty
- Paddle and ball physics using Unity's Rigidbody2D
- Several brick types (weak, strong, unbreakable)
- Power-ups and bonus scoring (expandable)
- ScriptableObjects for game and level configuration
- Prefabs for bricks and game objects
- Customizable controls and difficulty settings
- Visual and audio effects (screen shake, particles, sound)
Assets/Scripts/: Core game scripts (Ball, Paddle, Brick, GameManager, LevelBuilder, etc.)Assets/Scenes/: Game levels and test scenesAssets/Prefabs/: Brick and game object prefabsAssets/Sprites/: Art assets for ball, paddle, and bricksAssets/ScriptableObjects/: Data assets for levels and brick typesAssets/Physics/: Physics materials for gameplay
- Unity physics and collision system
- Game state management (score, lives, levels)
- Using prefabs and ScriptableObjects for modular design
- Scene management and level progression
- Customizing controls and difficulty
- Project Version: 6000.2.2f1 (see
ProjectSettings/ProjectVersion.txt)
This repo is actively used for in-class demonstrations and student projects. Feel free to fork or clone for your own learning!