Skip to content

SERAP-KEREM/HolePeople

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

94 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Hole People

A challenging puzzle game where players strategically move same-color stickmen across a grid into matching holes, then route them to MatrixHoles or Holders. Built with Unity, featuring PrimeTween polish, batch transfer systems, and the SerapKeremGameKit architecture.


๐ŸŽฎ About the Game

Hole People is a grid-based puzzle game where players tap a grid hole to send all matching-color stickmen on the grid toward that hole. Stickmen pathfind with BFS, run and jump into the hole, then get batched and routed automatically: either into capacity-based MatrixHoles (goal lanes) or into Holder racks (storage). A spaceship VFX layer visualizes transfers. The goal is to fill and close all MatrixHole lanes (win); if no valid route exists, stickmen are dropped and the player loses.

๐ŸŽฅ Gameplay Video

Hello.People_GitHub.1.mp4

๐Ÿ–ผ๏ธ Screenshots

Game Screenshot 1 Game Screenshot 2

Game Screenshot 3 Game Screenshot 4


โœจ Game Features

๐Ÿงฉ Core Mechanics

  • ๐ŸŽ›๏ธ Grid-Based Movement: Stickmen move on a tile grid with BFS pathfinding toward the selected hole.
  • ๐ŸŽจ Color Matching: Only stickmen whose color matches the tapped hole are sent.
  • ๐Ÿƒ Run & Jump: PrimeTween-powered run-to-jump arc into the hole, with optional jump particle.
  • ๐Ÿ“ฆ Batch Transfer: Arrived stickmen are collected per hole and routed in batches (MatrixHole capacity or Holder).
  • ๐Ÿš€ Spaceship VFX: Transfer to Holder or MatrixHole is visualized with a reusable spaceship (reference-counted).
  • ๐Ÿ“Œ MatrixHole Lanes: Capacity-based lanes; when full, hole closes and the next one shifts forward.

๐ŸŒˆ Visual Features

  • โœจ Particle Effects: Pooled jump/feedback particles (key-based).
  • ๐ŸŽž๏ธ Smooth Animations: PrimeTween for movement, jumps, fill ring, and UI.
  • ๐ŸŽš๏ธ Material System: Dynamic colors via MaterialPropertyBlock (stickmen and holes).
  • ๐Ÿ“Š Fill Ring UI: Radial fill around MatrixHoles showing capacity (event + LateUpdate fallback).
  • ๐Ÿ”Š Audio & Haptics: Key-based registry for selection and feedback.

๐Ÿง  Technical Features

  • ๐Ÿงฑ Component-Based Architecture: Modular, clear separation (Stickman, Hole, MatrixHole, Holder, TransferService).
  • โ™ป๏ธ Object Pooling: Particles, audio, pathfinding collections (Queue/Dictionary/HashSet).
  • ๐Ÿ”„ State Management: StateManager + state-driven UI (HUD, Win, Fail, Settings, Retry).
  • ๐Ÿ”Š Audio & Haptics: SerapKeremGameKit integration.
  • ๐Ÿ“‚ Level System: Prefab-based level loading (Level_01โ€“Level_10), LevelManager + Level init pipeline.

๐Ÿ› ๏ธ Tools & Packages Used

๐Ÿ“ฆ Unity Packages

  • โš™๏ธ Unity Engine: 6000.0.58f2
  • ๐Ÿ”„ PrimeTween: Tweening & animations
  • ๐Ÿงฐ TriInspector: Enhanced Inspector UI
  • ๐ŸŽจ URP: Universal Render Pipeline 17.0.4
  • โœจ UI Particle (ParticleEffectForUGUI): UI particle effects
  • ๐Ÿ“ TextMeshPro: UI text

๐ŸŽจ Custom Assets

๐Ÿงฑ Game Prefabs & Resources

  • ๐Ÿงฉ Stickman, Hole, MatrixHole, MatrixHoleLine, Holder, SpaceShip prefabs
  • ๐ŸŽจ Level prefabs (Level_Base, Level_01โ€“Level_10)
  • ๐Ÿงฑ Tile and grid assets
  • ๐Ÿ“‚ Resources under Assets/_Game/Resources/

๐ŸŸฃ Materials & Rendering

  • ๐ŸŽš๏ธ MaterialPropertyBlock: Runtime color application for stickmen and holes (no material instantiation).
  • ๐ŸŒซ๏ธ Toon / URP: Scene load material sanitization for Toon shader (URP keyword workaround, cached per scene).

๐Ÿงฉ Custom Framework

  • ๐Ÿงฑ SerapKeremGameKit โ€“ A personal development template used in Hole People:

    • ๐Ÿ“ Logging system
    • ๐Ÿ”Š Audio management
    • ๐Ÿ“ณ Haptic feedback
    • โœจ Particle system with pooling
    • โ™ป๏ธ Level system
    • ๐Ÿ–ผ๏ธ UI framework (HUD, Win, Fail, Retry, Settings panels)
    • ๐Ÿ”„ State management
    • ๐Ÿงฑ Tile/Grid system (grid layout, pathfinding, spawn)
    • โŒจ๏ธ Input handling (lock/unlock on win/lose)
    • ๐Ÿ’ฐ Economy & time (coin rewards, completion time, star evaluation)

๐ŸŽฏ How to Play

๐Ÿ“˜ Basic Rules

  1. ๐Ÿงฉ Select a Hole: Tap a grid hole. All same-color stickmen on the grid that can pathfind to it will move.
  2. ๐ŸŽจ Match Colors: Only stickmen whose color matches the holeโ€™s color are sent.
  3. ๐Ÿƒ Watch the Transfer: Stickmen run, jump into the hole, then are batched and sent to MatrixHoles (if capacity) or Holders.
  4. ๐Ÿ“ฆ Fill MatrixHoles: MatrixHoles have a capacity; when full, they close and the next hole in the lane advances.
  5. ๐Ÿ† Win: Close all required MatrixHole lanes. Lose: If stickmen cannot be placed (no holder space, no matrix capacity), they are dropped and you lose.

๐Ÿ•น๏ธ Controls

  • ๐Ÿ–ฑ๏ธ Mouse / Touch: Tap a grid hole to select it and start movement.
  • ๐ŸŽฏ Raycast: Selection uses raycast; UI blocks input when pointer is over UI.

๐Ÿ“ฆ Project Structure

Assets/
โ”œโ”€โ”€ _Game/
โ”‚   โ”œโ”€โ”€ Scripts/
โ”‚   โ”‚   โ”œโ”€โ”€ _Core/            # Base entity patterns
โ”‚   โ”‚   โ”œโ”€โ”€ _Stickman/        # Stickman, movement, animator
โ”‚   โ”‚   โ”œโ”€โ”€ _Hole/            # Grid hole system
โ”‚   โ”‚   โ”œโ”€โ”€ _Holder/          # Holder (storage) system
โ”‚   โ”‚   โ”œโ”€โ”€ MatrixHole/       # MatrixHole lines & transfer
โ”‚   โ”‚   โ”œโ”€โ”€ SpaceShip/        # Spaceship VFX
โ”‚   โ”‚   โ”œโ”€โ”€ _Pathfinding/     # BFS + pathfinding pool
โ”‚   โ”‚   โ””โ”€โ”€ Editor/           # Grid Editor Tool, Level Balance
โ”‚   โ”œโ”€โ”€ Resources/            # Prefabs and levels
โ”‚   โ”‚   โ”œโ”€โ”€ Levels/           # Level prefabs
โ”‚   โ”‚   โ”œโ”€โ”€ Stickman/         # Stickman prefab
โ”‚   โ”‚   โ”œโ”€โ”€ Hole/             # Hole, MatrixHole prefabs
โ”‚   โ”‚   โ”œโ”€โ”€ Holder/           # Holder prefab
โ”‚   โ”‚   โ”œโ”€โ”€ SpaceShip/        # SpaceShip prefab
โ”‚   โ”‚   โ””โ”€โ”€ Tile/             # Tile prefabs
โ”‚   โ”œโ”€โ”€ Scenes/               # Game scene
โ”‚   โ””โ”€โ”€ Animation/            # Animator controllers
โ””โ”€โ”€ SerapKeremGameKit/        # Custom framework
    โ”œโ”€โ”€ Scripts/
    โ”‚   โ”œโ”€โ”€ Audio/            # Audio management
    โ”‚   โ”œโ”€โ”€ Haptics/          # Haptic feedback
    โ”‚   โ”œโ”€โ”€ Particles/        # Particle system + pool
    โ”‚   โ”œโ”€โ”€ Pools/            # BasePool
    โ”‚   โ”œโ”€โ”€ LevelSystem/      # Level, State, LevelManager
    โ”‚   โ”œโ”€โ”€ UI/               # UI framework
    โ”‚   โ””โ”€โ”€ ...
    โ””โ”€โ”€ Resources/


๐Ÿš€ Getting Started

๐Ÿ“ฅ Installation

git clone https://github.com/SERAP-KEREM/HolePeople.git
  1. Open the project in Unity (6000.0.58f2)
  2. Load the main scene: Assets/_Game/Scenes/GameScene.unity
  3. Press Play

๐Ÿ› ๏ธ Build

  1. File โ†’ Build Settings
  2. Choose platform
  3. Click Build

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Grid-based puzzle game: Guide stickmen into matching holes and interact with MatrixHole and Holder systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors