C++ Game development

Open-source C++ projects categorized as Game development

Top 23 C++ Game development Projects

  • Godot

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

    Project mention: How to debug gdscript in Godot 4 Beta 6? | reddit.com/r/godot | 2022-11-25

    Someone made a working threaded debugger here: https://github.com/godotengine/godot/pull/64364 But unfortunately it hasn't been merged.

  • Cocos2d

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

    Project mention: Unreal for 2D game? | reddit.com/r/gamedev | 2022-08-20
  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • 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: Where to find shader resources? | reddit.com/r/gamedev | 2022-03-10

    Book of Shaders 3D Game Shaders for Beginners Martin Donald Freya Holmer

  • Bullet

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

    Project mention: How to go about making a physics engine via compute shader? | reddit.com/r/gamedev | 2022-11-14

    I don't know how well it would suit you but if you want to learn, Bullet is an open source physics engine and it has OpenCL acceleration for various tasks, such as collision.

  • tiled

    Flexible level editor

    Project mention: Programs for isometric world design? (Pixel Art) | reddit.com/r/gamedev | 2022-11-19

    Tiled for placing tiles, combined with your favourite pixel art tool for the art.

  • assimp

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

    Project mention: A TRIANGLE!!! with OpenGL! Awesome right? 😅😜 | reddit.com/r/IndieDev | 2022-11-03

    Assimp is your friend

  • entt

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

    Project mention: Enums In C++, Choice is Oft Beguiled | reddit.com/r/cpp | 2022-11-18

    Now you can make use of operator| and operator&. Here is the full source. It'll be a bit better when it's ported to C++20 with concepts, as the SFINAE produces the usual ugly error messages with enable_if.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • GameNetworkingSockets

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

    Project mention: The Riftbreaker adds Steam Workshop Support, AMD FSR 2.1 support, Optimized CPU performance and more | reddit.com/r/pcgaming | 2022-11-18
  • 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: O3DE - Sources of information, examples and tutorials | reddit.com/r/O3DE | 2022-11-09
  • urho3d

    Cross-platform 2D and 3D game engine

    Project mention: Which engine/program do you use? | reddit.com/r/SoloDevelopment | 2022-08-23

    Urho3D, an open source C++ game engine.

  • Piccolo

    Piccolo (formerly Pilot) – mini game engine for games104

    Project mention: Pilot Engine is a tiny game engine | news.ycombinator.com | 2022-06-01
  • SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: How to display a 2D array every frame | reddit.com/r/godot | 2022-06-25

    https://github.com/dfranx/SHADERed (useful tool for debugging shader code, has a bit more functionality than doing it in Godot directly)

  • FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: What features would you like to see that are not available in leading game engines | reddit.com/r/gamedev | 2022-07-27

    It sounds like you're asking them to just remake https://flaxengine.com. (Minus ECS)

  • 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.

  • Panda3D

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

    Project mention: Why I enjoy using the Nim programming language at Reddit. | reddit.com/r/RedditEng | 2022-11-14

    I used to be a huge Python fan. After working with Python for many years though, I started to get annoyed with more and more things. For example, I wanted to make games with Python and even contributed to Panda3D, but Python is a very slow language and games need to be fast. Then, when making websites, typos in rarely run and tested code like exception handlers would crash in production. Python also does not help with large refactors. Every function is ok with taking anything so the only way to find out if code does not work is to run the code and write more tests. This got old fast.

  • lumixengine

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

  • love

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

    Project mention: Game engine for what I need | reddit.com/r/gamedev | 2022-11-22

    That's weird, I spent six seconds on Google and found love2d, which is a free Lua-based 2d game engine.

  • Atomic Game Engine

    The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript

  • EpicSurvivalGame

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

    Project mention: C++ project structure. | reddit.com/r/unrealengine | 2022-10-07

    I have looked up a few projects like Tom Looman's EpicSurvivalGame and Epic's Lyra Project, but I don't think they were made as formal games but more like tutorials. They don't teach us how to organize our project.

  • JoltPhysics

    A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications.

    Project mention: Two new NVIDIA Vulkan extensions to accelerate RTX IO are supported on both Linux and Windows | reddit.com/r/linux_gaming | 2022-11-16

    It is a very wide standard, yes. But the most issue is that it uses discrete collision detection which has pretty common limitations. So if you are looking for an alternative, try Jolt instead. It's open-source, MIT licensed, used by a AAA game and uses continuois collision detection.

  • defold

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

    Project mention: ValueObject | news.ycombinator.com | 2022-08-29

    looks very neat, but it doesn't really get more OO than JavaFX, does it ? would you call this code functional & idiomatic in any relevant sense of the term? https://github.com/defold/defold/blob/dev/editor/src/clj/edi...

  • imgui-node-editor

    Node Editor built using Dear ImGui

    Project mention: graphic library for creating a paint like application | reddit.com/r/Cplusplus | 2022-08-02

    This sort of node graph?

  • ActionRoguelike

    Third-person Action Roguelike made in Unreal Engine C++. Project for Unreal Engine Pro C++ Course & Stanford University (CS193U)

    Project mention: Question Regarding C++ SetTimer | reddit.com/r/unrealengine | 2021-12-24

    In this case you could search for examples of SetTimer use inside the engine project to find plenty of useful examples, I also search through good example projects in the community like this when using things I'm not too familiar with as well.

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

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-11-25.

C++ Game development related posts


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

Project Stars
1 Godot 55,386
2 Cocos2d 16,630
3 3d-game-shaders-for-beginners 14,021
4 Bullet 9,994
5 tiled 9,227
6 assimp 8,425
7 entt 7,400
8 GameNetworkingSockets 6,318
9 o3de 5,663
10 urho3d 4,199
11 Piccolo 3,803
12 SHADERed 3,702
13 FlaxEngine 3,634
14 NoahGameFrame 3,585
15 Panda3D 3,576
16 lumixengine 2,903
17 love 2,832
18 Atomic Game Engine 2,800
19 EpicSurvivalGame 2,743
20 JoltPhysics 2,406
21 defold 2,360
22 imgui-node-editor 2,354
23 ActionRoguelike 2,128
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.