Skip to content
gazijarinPublic

About

A 3D puzzle platformer featuring a Blob with a split mechanic.

Resources

Stars

35 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Blob

Project Banner

A 3D puzzle platformer featuring a Blob with a split mechanic.

Split, solve, merge - master the art of being in two places at once

Unity Version License Made with Love


Inspiration

Blob Divide draws heavy inspiration from Valve's iconic Portal 2 test chambers, reimagining the puzzle-solving experience with a unique split-merge mechanic. Instead of creating portals, you split yourself.

"What if the companion cube could split in two and solve puzzles independently?"

Key Inspirations:

  • Portal 2 — Test chamber design, puzzle philosophy, environmental storytelling
  • Brothers: A Tale of Two Sons — Dual-character control scheme

Mechanics

The heart of Blob Divide is the split-merge system:

Single Blob (E) → Split → BlobA (Green) + BlobB (Cyan)
                              ↓                ↓
                         (Solve Puzzle)   (Solve Puzzle)
                              ↓                ↓
                         Move Close ← → Merge → Complete Level

Controls

State Control BlobA (Green) BlobB (Cyan)
Movement 3D Movement WASD Arrow Keys
Jump Jump Space Right Shift
Split Split into two E —
Merge Auto-merge Proximity (3.0 units) Proximity (3.0 units)
Camera Switch view Tab Tab

Puzzle Elements

🔵 Pressure Buttons

  • Require weight to activate (blob or box)
  • Control gates and doors
  • Must be held down continuously

🚪 Gates

  • Controlled by pressure buttons
  • Block passage until activated
  • Multiple gates can share buttons

🪨 Pushable Boxes

  • Can be pushed by walking into them
  • Have weight and physics (mass: 50, gravity enabled)
  • Fall off ledges realistically

🚪 Exit Door

  • Only opens for merged blob
  • Rejects split blobs with red flash
  • Glows bright green on successful completion
  • Triggers level complete sequence

Game Rules

  1. Split Timer: 30 seconds before forced merge
  2. Merge Distance: Blobs auto-merge within 3.0 units
  3. Completion: Must be merged to exit level
  4. Death: Fall off map = restart (planned)
  5. No Combat: Pure puzzle-solving experience

🏗️ Technical Details

Core Scripts

Script Purpose
GameManager.cs Split/merge logic, level flow control
BlobController.cs Character movement, input handling, animations
CameraController.cs Dynamic camera following, view switching
PushableStone.cs Physics-based pushable object behavior
PressureButton.cs Button activation, gate control
ExitDoor.cs Level completion detection, visual feedback

📁 Project Structure

BlobDivide/
├── Assets/
│   ├── Scenes/
│   │   └── TestChamber_01.unity
│   ├── Scripts/
│   │   ├── GameManager.cs
│   │   ├── BlobController.cs
│   │   ├── CameraController.cs
│   │   ├── PushableStone.cs
│   │   ├── PressureButton.cs
│   │   └── ExitDoor.cs
│   ├── Characters/
│   │   ├── Models/
│   │   ├── Materials/
│   │   ├── Textures/
│   │   └── Animations/
│   ├── Prefabs/
│   │   ├── Blob.prefab
│   │   ├── Stone.prefab
│   │   ├── PressureButton.prefab
│   │   └── Gate.prefab
│   ├── Materials/
│   │   ├── BlobMaterial.mat
│   │   ├── FloorMaterial.mat
│   │   └── GateMaterial.mat
│   └── Animations/
│       └── CharacterAnimator.controller
├── Documentation/
│   ├── setup-guide.md
│   ├── level-design-guide.md
│   └── troubleshooting.md
└── README.md

Get Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/blob.git
    cd blob
  2. Open in Unity

    • Open Unity Hub
    • Click "Add" → Select blob folder
    • Open project (Unity will import assets)
  3. Open the test scene

    • Navigate to Assets/Scenes/
    • Open Main.unity
  4. Press Play!

    • Test character movement with WASD
    • Press E to split
    • Solve the puzzle
    • Merge and complete the level

🎮 How to Play

Objective

Navigate through test chambers by splitting yourself into two blobs, solving puzzles that require presence in multiple locations, then merging to reach the exit.

Example

  1. Start: Spawn as single merged blob
  2. Split (E): Divide into green and cyan blobs
  3. Control Both:
    • Green blob with WASD + Space
    • Cyan blob with Arrows + Right Shift
  4. Solve Puzzle: Use both blobs simultaneously
    • Hold buttons
    • Push stones
    • Navigate gates
  5. Merge: Move blobs close together (auto-merge at 3 units)
  6. Exit: Enter the door as merged blob

Contribution

Contributions are welcome! Whether it's:

  • 🐛 Bug reports
  • 💡 Feature suggestions
  • 🎨 Art/model contributions
  • 📚 Documentation improvements
  • 🎮 Level designs

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

Acknowledgments

Inspiration & References

  • Valve — Portal 2 for test chamber design inspiration
  • Unity Community — Tutorials and assets
  • OpenGameArt — Free assets and character models

Made with ❤️ and Unity

⬆ Back to Top

About

A 3D puzzle platformer featuring a Blob with a split mechanic.

Resources

Stars

35 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages