← Back to Projects

Star Orbit

Game development project 2022

An SDL project showcasing orbital mechanics and gravitational force in a binary star system.

C++ SDL OpenGL 2D

Overview

Simulate a binary star system with figure-8 orbital motion.

How It Works: User can drag celestial bodies, adjust mass, and control the physics simulation.

Core Systems

  • Physics Simulation (Gravitation)
  • Interactive (Mouse)
  • Game loop & Scene management

Rendering & Math

  • SDL rendering
  • Intuitive controls
  • Vector math library