Skip to content

About

Dodge Master is a fast-paced 2D arcade survival game built using C++ and Raylib, where the goal is simple: survive as long as possible while dodging falling enemies.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Dodge The Block

A fast-paced 2D arcade game built in C++ using Raylib, where the objective is simple: survive as long as possible by dodging falling obstacles while earning coins to purchase powerful upgrades.

This project was developed as a learning experience in game development, focusing on gameplay programming, UI systems, state management, audio integration, and modular game mechanics.

Gameplay Preview

Gameplay screenshots showcasing menus, gameplay, upgrades, and UI.

Features

  • Fast-paced dodge gameplay

  • Four difficulty levels

    • Easy
    • Normal
    • Hard
    • Pro
  • Coin collection system

  • Upgrade store

  • Health system

  • Score tracking

  • Pause menu

  • Game Over screen

  • Theme switching (Light/Dark)

  • Dynamic background music

  • Sound effects

  • Temporary power-ups

  • Modular game state management

Store Upgrades

Players can spend earned coins to purchase upgrades such as:

  • Increase movement speed
  • Higher jump
  • Temporary player shrink
  • Additional health

Each upgrade becomes progressively more expensive, encouraging longer survival.

Controls

Action Key
Move Left A
Move Right D
Jump Space
Pause Esc
Navigate Menus Mouse

Tech Stack

Component Technology
Language C++
Framework Raylib
Graphics OpenGL
Platform Windows

Project Structure

Dodge_The_Block/
│
├── Assets/
│   ├── Sound/
│   └── Fonts/
│
├── Images/
│
├── main.cpp
└── README.md

Getting Started

Clone the repository

git clone https://github.com/jeevansagale/Dodge_The_Block.git

Build

Open the project in Visual Studio 2022, build the solution, and run the executable.

Learning Objectives

This project was created to gain practical experience with:

  • C++ programming
  • Raylib
  • Game loops
  • Collision detection
  • State machines
  • Audio systems
  • User interface programming
  • Gameplay balancing
  • Object-oriented design

Future Improvements

  • Better animations
  • Particle effects
  • Additional power-ups
  • More enemy patterns
  • Achievement system
  • Local high-score saving
  • Improved UI polish
  • Better visual effects

Roadmap

  • Core gameplay
  • Player movement
  • Jump mechanics
  • Multiple difficulty modes
  • Enemy spawning
  • Coin system
  • Upgrade store
  • Theme switching
  • Music & sound effects
  • Save system
  • Achievements
  • Additional game modes

Contributing

Contributions, suggestions, and feedback are welcome.

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit your changes.
  4. Open a Pull Request.

License

This project is licensed under the MIT License.

Author

Jeevan Sagale

GitHub: https://github.com/jeevansagale

About

Dodge Master is a fast-paced 2D arcade survival game built using C++ and Raylib, where the goal is simple: survive as long as possible while dodging falling enemies.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages