How can I make graphics games using cpp?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/cpp_questions

Our great sponsors
  • Sonar - Write Clean C++ Code. Always.
  • Zigi - Delete the most useless function ever: context switching.
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • olcPixelGameEngine

    The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects

    But if you just want to create Tetris or Soduko I would actually recommend OLC pixel game engine. It's the absolute simplest graphics library you could possibly imagine. Just include one file and you're good to go, it takes less than 10 minutes to get something up on the screen. You can't create anything complex with it of course, but you just need to draw simple shapes and text on the screen so it's perfect for that.

  • SFML

    Simple and Fast Multimedia Library

    I would recommend SFML or Raylib, they're both excellent and fairly easy to set up, plus have really good documentation. And if you decide to really dig into them you'll eventually be able to create any game you want.

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • raylib-hx

    Haxe bindings for raylib, a simple and easy-to-use library to learn videogame programming

    I would recommend SFML or Raylib, they're both excellent and fairly easy to set up, plus have really good documentation. And if you decide to really dig into them you'll eventually be able to create any game you want.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts