2D Platformer & Physics Engine

Platformer

A 2D platformer game built in C++ with SFML, designed primarily as a testbed for a custom game and physics engine framework — the focus is on high-quality engine design and performance.

platformer.png
Role
Solo Developer
Language
C++
Framework
SFML
Build
CMake

Project Overview

Platformer is a 2D platformer game built in C++ with SFML, designed primarily as a testbed for a custom game and physics engine framework. The focus is on high-quality engine design and performance, with the game itself serving as a showcase of the underlying systems.

Technical Highlights

Language & Framework
  • C++
  • SFML
Build System
  • CMake
Physics
  • Custom Engine
  • Rigid Body Dynamics
  • Polygon Collision

Key Features

  1. Object Management System

    Handles physics updates using both fixed and variable timesteps, with integrated collision detection for seamless gameplay.

  2. Component-Based Architecture

    Streamlines the creation and management of diverse object types with an intuitive interface for defining behaviors and properties.

  3. GJK Collision Detection

    Implements a 2D version of the Gilbert-Johnson-Keerthi algorithm for precise, efficient collision detection between any convex shapes.

Use Cases

Platformer is intended as a practical proving ground for game engine concepts — testing physics systems, collision algorithms, and entity management in a real interactive context before integration into larger projects.

Learning Outcomes

This project demonstrates proficiency in game physics and simulation, component-based software design, algorithm implementation (GJK), and cross-platform C++ development with CMake.