Retro Pinball Game

C++
SDL2
Box2D
Retro Pinball Game

This project is a classic pinball game developed from scratch using C++ with SDL and the Box2D physics library. It was created to explore and demonstrate a solid understanding of 2D physics principles, including forces, impulses, collisions, and object dynamics within a real-time interactive environment.

My Contributions

Box2D Physics Integration

Integrated the Box2D library to handle all physics calculations, including ball dynamics, flipper movement, and collisions with bumpers and other elements.

Interactive Pinball Elements

Programmed a variety of interactive table elements, such as flippers, bumpers, and triggers, each with distinct physical behaviors and scoring properties.

Collision & Gameplay Logic

Implemented the core gameplay loop, including collision detection callbacks to trigger scoring events, sound effects, and game state changes based on physics interactions.

Rendering & Asset Management

Used SDL to render all visual components of the game, including the playfield, ball, flippers, and UI elements, and managed the loading of necessary assets.