C++ Gamedev

Open-source C++ projects categorized as Gamedev | Edit details

Top 23 C++ Gamedev Projects

  • Godot

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

    Project mention: Godot 4.0 - Should transform.interpolate_with() be linear? | reddit.com/r/godot | 2022-01-26

    Seems like Transform3D::interpolate_with was changed in this commit, and its old implementation is now within Transform3D::sphere_interpolate_with method. However, this new method is not binded (probably by mistake) so it's not available for scripting (Transform3D::interpolate_with is still binded but now it behaves differently). Source code: 3.x vs master.

  • imgui

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

    Project mention: Software recommendations for creating C++ driven gui's | reddit.com/r/gamedev | 2022-01-23
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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: Game Engine From Scratch | reddit.com/r/cpp | 2022-01-17

    Some tutorials I have looked at (well nor originally, as I learned the basics when we were still at DX9 :D): - https://lettier.github.io/3d-game-shaders-for-beginners/index.html

  • bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

    Project mention: What would be most beneficial to learn to get back up to speed? | reddit.com/r/GraphicsProgramming | 2021-12-27

    Perhaps not quite what you're looking for, but I've had a reasonably good experience with bgfx. It's basically 1 level of abstraction above specific graphics APIs (GL, DirectX, etc). It is not a full game engine, just a rendering API.

  • entt

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

    Project mention: ECS and physics engine | reddit.com/r/gameenginedevs | 2022-01-20

    Take a look Edyn, It's a physics engine built around the Entt ECS system.

  • Game-Networking-Resources

    A Curated List of Game Network Programming Resources

    Project mention: Single player to multiplayer | reddit.com/r/gamedev | 2021-12-15

    https://github.com/MFatihMAR/Game-Networking-Resources (This is a list maintained by someone else, and it has some amazing things in it, and far more technical leaning than what I maintain).

  • o3de

    Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.

    Project mention: Upcoming GZDoom-powered FPS Selaco shows off the 'AI Response System' | reddit.com/r/linux_gaming | 2022-01-10

    O3DE, the open-sourced version of Amazon Lumberyard, could, if for some reason id Tech 4 with Vulkan couldn't.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • magnum

    Lightweight and modular C++11 graphics middleware for games and data visualization

    Project mention: Game Engine From Scratch | reddit.com/r/cpp | 2022-01-17

    It's not a tutorial, but magnum is a modern C++11/14 graphic engine actively developed by a small team.

  • GDevelop

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

    Project mention: GDevelop – Create games without programming | news.ycombinator.com | 2021-12-27
  • 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.

  • tracy

    C++ frame profiler

    Project mention: Can i build great software that not games related with dear imgui and glfw(opengl)? | reddit.com/r/AskProgramming | 2022-01-02

    tracy (https://github.com/wolfpld/tracy), a profiler for cpp & co. uses imgui. Its possible but I think people who rely on screenreaders will not be able to use it.

  • FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: Flax Game Engine | news.ycombinator.com | 2021-10-25
  • Panda3D

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

    Project mention: Create games or game engines that use python? | reddit.com/r/learnpython | 2021-12-29

    Check out https://www.panda3d.org/

  • love

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

    Project mention: Hi! I'm trying to code my first roguelike. What do you generally use to code? | reddit.com/r/roguelikedev | 2022-01-12

    A roguelike can be made in any language and framework, just like every other game. I am using LÖVE, but not because it's specifically good for roguelikes, I just like the engine.

  • defold

    Defold is a completely free to use game engine for development of desktop, mobile and web games.

    Project mention: Lua, Nim, and Wren for game development | reddit.com/r/learnprogramming | 2021-10-10

    If you paint by some numbers, the Defold repo (https://github.com/defold/defold) has 1k issues, and only 14 prs open, whereas the Godot repo (https://github.com/godotengine/godot) has 5k+ issues and a whopping 1.1k prs open. And a difference of 1500 contributors on Godot, versus 37 total contributors on Defold.

  • RuntimeCompiledCPlusPlus

    Change C++ code at runtime

    Project mention: Reloadr – Hot code reloading tool for Python | news.ycombinator.com | 2021-02-05

    There is https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledC...

    The idea is to use virtual functions, and recompile new classes into a shared library. The shared lib is linked into the running program, and old instances of the classes are deleted and replaced by new instances constructed from the share library.

    I am working on a library using the same (stolen) idea here:


    Proof of concept demo:


    hscpp is still very alpha, and I’m sure I’ll find lots of bugs as I work on a “real” demo. In contrast, Runtime Compiled C++ is quite mature and is used in real game projects.

    Note that this approach very much limits your architecture. For example, you won’t be able to use statics, as the newly compiled shared libraries won’t see them.

    It’s a finicky thing, worth it to me, but not something you can just plop in to an established project.

  • enkiTS

    A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.

    Project mention: Reading voxel data from save files or generating voxel data should take place on... | reddit.com/r/VoxelGameDev | 2021-10-06

    Rather than a new background thread I would use a task/job system such as my own open source enki Task Scheduler (enkiTS).

  • cr

    cr.h: A Simple C Hot Reload Header-only Library

    Project mention: Cr.h: A Simple C Hot Reload Header-Only Library | news.ycombinator.com | 2021-11-04
  • imnodes

    A small, dependency-free node editor for dear imgui

  • imgui_markdown

    Markdown for Dear ImGui

    Project mention: Is WinUI the most modern GUI library for C++ desktop applications on Windows? | reddit.com/r/cpp | 2021-12-06

    CRYENGINE is a powerful real-time game development platform created by Crytek.

    Project mention: Should i change programming language? | reddit.com/r/gamedev | 2022-01-06

    I have very high hopes for Godot. Besides, if you're the sole developer of a side project, you don't want to use what the AAA titles use. Have you seen the length of the credits on those things? If that's the path you want to go down, then you might as well give the cryengine a go, get yourself a license to some mocap software, etc lol

  • ezEngine

    An open source game engine in active development

    Project mention: Making UI for an engine | reddit.com/r/gameenginedevs | 2021-09-10

    We use Dear ImGui for debug stuff etc. in ezEngine (on GitHub: https://github.com/ezengine/ezengine) and have a RmlUI (https://github.com/mikke89/RmlUi) Plugin for the more game style UI use cases. RmlUI gives you something HTML like without integrating a full browser engine into your game engine :)

  • nCine

    A cross-platform 2D game engine

    Project mention: How are game engines made? | reddit.com/r/gamedev | 2021-11-25

    I have been coding mine for many years now. Fortunately it is still small enough that can be easily understood by one person. Have a look here: https://ncine.github.io/

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 2022-01-26.

C++ Gamedev related posts


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

Project Stars
1 Godot 45,882
2 imgui 34,307
3 3d-game-shaders-for-beginners 11,919
4 bgfx 10,911
5 entt 6,283
6 Game-Networking-Resources 4,302
7 o3de 4,292
8 magnum 3,766
9 GDevelop 3,331
10 NoahGameFrame 3,306
11 tracy 3,277
12 FlaxEngine 3,169
13 Panda3D 3,114
14 love 2,081
15 defold 2,016
16 RuntimeCompiledCPlusPlus 1,859
17 enkiTS 1,233
18 cr 990
19 imnodes 943
20 imgui_markdown 723
22 ezEngine 630
23 nCine 608
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.