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 screenshots showcasing menus, gameplay, upgrades, and UI.
-
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
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.
| Action | Key |
|---|---|
| Move Left | A |
| Move Right | D |
| Jump | Space |
| Pause | Esc |
| Navigate Menus | Mouse |
| Component | Technology |
|---|---|
| Language | C++ |
| Framework | Raylib |
| Graphics | OpenGL |
| Platform | Windows |
Dodge_The_Block/
│
├── Assets/
│ ├── Sound/
│ └── Fonts/
│
├── Images/
│
├── main.cpp
└── README.md
git clone https://github.com/jeevansagale/Dodge_The_Block.gitOpen the project in Visual Studio 2022, build the solution, and run the executable.
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
- Better animations
- Particle effects
- Additional power-ups
- More enemy patterns
- Achievement system
- Local high-score saving
- Improved UI polish
- Better visual effects
- 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
Contributions, suggestions, and feedback are welcome.
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Open a Pull Request.
This project is licensed under the MIT License.
Jeevan Sagale
GitHub: https://github.com/jeevansagale





