Back to Projects

Block Dodge

A mobile game that challenges players to dodge falling blocks while collecting apples, featuring various upgrades and unlockable character skins.

UnityC#Game DevelopmentMobile DevelopmentJSON
Block Dodge

Block Dodge is a mobile game that challenges players to dodge falling blocks while collecting apples, featuring various upgrades and unlockable character skins.

Experience fast-paced gameplay with unique power-ups and collectible skins!

Game Features

Power-Up System

Unlock and upgrade various abilities:

  • Speedster Surge - Enhanced movement speed
  • Apple Attraction - Magnetic apple collection
  • Apple Avalanche - Increased apple spawn rate
  • Iron Interceptor - Auto-block protection
  • Magnetic Mistral - Block repulsion field

Character Customization

Choose from 30 unique animal skins including Bear, Buffalo, Chick, and many more!

Dynamic Audio System

Features include:

  • Adaptive music that intensifies during gameplay

  • Sound effects for interactions and achievements

  • Death and collection audio feedback

Progress System

Comprehensive gameplay features including:

  • Save system to track progress

  • Currency system for upgrades

  • Unlockable skins and abilities

Score & Achievement System

Features an engaging scoring system with:

  • Real-time score tracking during gameplay

  • High score tracking with persistent storage

  • Audio feedback system including:
    • Special sound effects for new high scores

    • Achievement notification sounds

  • Visual feedback for score milestones

Technical Implementation

Save System Implementation

The game features a robust save system using JSON serialization:

  • JSON was chosen over binary serialization for:
    • Better cross-platform compatibility

    • Human-readable format for easier debugging

    • Standardized data structure

    • Flexible data modification and versioning

  • The system persistently stores:
    • Player progress and statistics

    • Unlocked character skins

    • Purchased upgrades and abilities

    • Currency and achievements

Technical Architecture

Block Dodge implements robust software design patterns including:

  • Game Manager Singleton - Coordinates core game systems and state

  • Audio Manager - Handles adaptive music and sound effects

  • Save Manager - Manages persistent data and player progress

  • Upgrade Manager - Controls power-up system and unlocks

  • Skin Manager - Handles character customization and unlocks

Custom UI Framework & Technical Solutions

Due to Unity's UI limitations, several custom systems were developed:

  • Dynamic UI Scaling System:
    • Custom InheritGUIScale script for runtime-modified content

    • Automatic vertical size calculation for dynamic content

    • Adaptive grid scaling for varying item counts

  • UI Content Loaders:
    • Specialized prefab instantiation systems for upgrades

    • Dynamic skin loader with runtime UI updates

    • Component-based architecture for modular UI elements

  • Performance Optimization:
    • Custom framerate management using Coroutines

    • Precise frame timing for consistent mobile performance

    • Resolution-independent scaling system

  • Mobile Adaptability:
    • Dynamic game area scaling for various device resolutions

    • Responsive UI layout system

    • Cross-device compatibility optimization