C++ Game development

Open-source C++ projects categorized as Game development | Edit details

Top 23 C++ Game development Projects

  • GitHub repo Godot

    Godot Engine – Multi-platform 2D and 3D game engine

    Project mention: Is there any info about Godot 3.4, please? | reddit.com/r/godot | 2021-07-25
  • GitHub repo Cocos2d

    Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.

  • GitHub repo 3d-game-shaders-for-beginners

    🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.

    Project mention: 3D Game Shaders for Beginners | reddit.com/r/patient_hackernews | 2021-04-25
  • GitHub repo pyxel

    A retro game engine for Python

    Project mention: A gaming console "emulator" with an original architecture? | reddit.com/r/EmuDev | 2021-07-23

    Congrats, you reinvented the PICO-8!. There's also Pyxel and TIC-80. Have fun!

  • GitHub repo Bullet

    Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

    Project mention: Fastest game engine on CPU ? | reddit.com/r/gamedev | 2021-06-19

    Do you specifically need correct physics in this? If you do, you can just use an existing physics library like Bullet.

  • GitHub repo tiled

    Flexible level editor

    Project mention: So, I decided to change my map... | reddit.com/r/ZeldaTabletop | 2021-07-21

    Tiled: This is the program I did the bulk of the work in. Its primary intended use is game development.

  • GitHub repo assimp

    The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.

    Project mention: Doing the math. Please help | reddit.com/r/GraphicsProgramming | 2021-06-25

    One thing http://www.kmjn.org/notes/3d_rendering_intro.html does not mention is how you get the "list of triangles" it refers to in the "Wireframe rendering pseudocode" section. For that, you need to write or find an existing a library that can read in your 3D object data files (e.g. Wavefront OBJ files, STL files, or what have you). Assimp is one such library, but writing a simple STL file importer yourself is not super hard.

  • GitHub repo entt

    Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more

    Project mention: I trained a Neural Network to understand my commands when playing my game | reddit.com/r/gamedevscreens | 2021-07-22

    The whole game is written in C++ using SFML for the graphics, entt as Entity-Component-System and tensorflow for the Neural Network. Tensorflow itself is written in C, so I use cppflow to integrate it into my C++ framework.

  • GitHub repo GameNetworkingSockets

    Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

    Project mention: Epic Games releases free anti-cheat and voice chat services for developers | reddit.com/r/programming | 2021-06-22

    Note that some features are only available on Steam, such as Steam's authentication service, signaling service, and the SDR relay service.

  • GitHub repo Game-Networking-Resources

    A Curated List of Game Network Programming Resources

    Project mention: Epic Games releases free anti-cheat and voice chat services for developers | reddit.com/r/programming | 2021-06-22

    Game network programming mega compilation.

  • GitHub repo urho3d

    Cross-platform 2D and 3D game engine

    Project mention: 3D game engine for lower end pcs | reddit.com/r/gamedev | 2021-07-01

    Urho3D works on mobiles, Windows, Mac, and even on the R Pi. It's a code-first engine with a minimal editor.

  • GitHub repo NoahGameFrame

    A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.

    Project mention: Hi everyone! Please pour one out for the maker of NoahGameFrame, who passed away in a car crash | reddit.com/r/gaming | 2021-07-17

    He was the maker of NoahGameFrame – a game server framework he developed and shared online for free.

  • GitHub repo o3de

    Source for fully featured AAA Open 3D Engine

    Project mention: Open 3D Engine (O3DE). Open Source 3D Game Engine | reddit.com/r/programming | 2021-07-19
  • GitHub repo SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: Is there a discord for SHADERed | reddit.com/r/shadered | 2021-07-18

    reporting bugs: https://github.com/dfranx/SHADERed/issues

  • GitHub repo GDevelop

    :video_game: GDevelop is an open-source, cross-platform game engine designed to be used by everyone.

    Project mention: Turning my micro-rpg game into a simple mobile app? | reddit.com/r/rpg | 2021-06-17

    GDevelop https://gdevelop-app.com/ is free and will allow you to publish fairly easily to Android. Forget about publishing to iOS though unless this is much more serious of a project.

  • GitHub repo Panda3D

    Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU

    Project mention: How do i open toontown models/playgrounds into a program | reddit.com/r/toontownrewritten | 2021-06-12

    You can use any of the egg / bam conversion tools that come with the Panda3D SDK (https://www.panda3d.org/) to convert the models between different model formats that can be used in other modeling programs.

  • GitHub repo FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: Is there a good, open source, realistic OpenGL renderer for us to use? | reddit.com/r/opengl | 2021-05-30
  • GitHub repo lumixengine

    3D C++ Game Engine - yet another open source game engine

    Project mention: Thinking of creating a Game Engine for my game... | reddit.com/r/gamedev | 2021-04-19
  • GitHub repo EpicSurvivalGameSeries

    Third-person Survival Game for Unreal Engine 4 (Sample Project)

    Project mention: Updated the open-source C++ Survival Game with a refreshed map (available on GitHub) | reddit.com/r/unrealengine | 2021-01-22

    direct link to GitHub: https://github.com/tomlooman/EpicSurvivalGameSeries

  • GitHub repo Gosu

    2D game development library for Ruby and C++

    Project mention: The Ruby Unbundled Series: Creating Games with Gosu | dev.to | 2021-03-24

    Many games use graphics of some kind, and the Gosu gem provides a nice wrapper around OpenGL capabilities for Ruby. It describes itself as a 2D Game Developer library, so let’s look at the basics and create a few games. You likely would want to use Chipmunk as well for advanced gaming. It is a game physics engine that easily integrates with Gosu.

  • GitHub repo Amazon Lumberyard

    Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.

    Project mention: LumberYard is now a new open source engine | reddit.com/r/starcitizen | 2021-07-06
  • GitHub repo love

    LÖVE is an awesome 2D game framework for Lua.

    Project mention: Open source game engine Include in credit | reddit.com/r/gamedev | 2021-07-24

    I'd say you should include their license.txt file with your game and credit love in the credits.

  • GitHub repo OpenJK

    Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software

    Project mention: [Steam] Summer Sale 2021 (Day 2) | reddit.com/r/GameDeals | 2021-06-26

    OpenJK - Star Wars: Jedi Outcast and Jedi Academy

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-07-25.


What are some of the best open-source Game development projects in C++? This list will help you:

Project Stars
1 Godot 40,450
2 Cocos2d 15,334
3 3d-game-shaders-for-beginners 10,784
4 pyxel 8,302
5 Bullet 8,159
6 tiled 8,140
7 assimp 6,736
8 entt 5,471
9 GameNetworkingSockets 5,431
10 Game-Networking-Resources 3,851
11 urho3d 3,599
12 NoahGameFrame 3,090
13 o3de 3,089
14 SHADERed 2,962
15 GDevelop 2,883
16 Panda3D 2,840
17 FlaxEngine 2,552
18 lumixengine 2,476
19 EpicSurvivalGameSeries 2,211
20 Gosu 1,729
21 Amazon Lumberyard 1,641
22 love 1,616
23 OpenJK 1,598