C++ Gamedev

Open-source C++ projects categorized as Gamedev

Top 23 C++ Gamedev Projects

  • Godot

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

    Project mention: Release candidate: Godot 4.0 RC 1 | reddit.com/r/godot | 2023-02-08
  • imgui

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

    Project mention: GPU-Backed User Interfaces | news.ycombinator.com | 2023-02-07

    https://github.com/ocornut/imgui/issues/3075#issuecomment-60...

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

  • 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: step-by-step guide to SSAO, lighting, and more | news.ycombinator.com | 2023-01-22
  • bgfx

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

    Project mention: Just found out about Zig and wonder what would be the best graphics library to pair with it? | reddit.com/r/Zig | 2023-02-01

    If you want juste a renderer, you can use BGFX, there is a zig binding that is not a third party.

  • entt

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

    Project mention: Ask HN: What is your new year's resolution? | news.ycombinator.com | 2023-01-01

    Sort of.

    1. I want to start with working through applying shaders to a 3d scene using the Panda3d library (https://github.com/panda3d/panda3d) . This repo covers that: https://github.com/lettier/3d-game-shaders-for-beginners.

    2. Create a simple, custom, graphics-only (no collisions / physics) game engine using Entt (https://github.com/skypjack/entt) and Panda3d. The engine would rely mostly on simple inputs, like mouse clicks, and 3d graphics.

    3. Configure clangd to warn on features outside C++11 then refactor both projects (1 & 2)

    4. Run experiments on the game engine while working through the Vulkan book: https://raw.githubusercontent.com/Overv/VulkanTutorial/maste...

  • 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: Is this the impossible server meshing tech CIG is trying to invent? | reddit.com/r/starcitizen_refunds | 2022-12-06
  • tracy

    Frame profiler

    Project mention: Tracy: A hybrid frame and sampling profiler for games and other applications | reddit.com/r/hypeurls | 2023-01-28
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • magnum

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

    Project mention: Want to a 3D game without a game engine but not having to deal with opengl stuff ? | reddit.com/r/gamedev | 2022-12-09

    Magnum

  • endless-sky

    Space exploration, trading, and combat game.

    Project mention: Is there any way to get a turret to be underneath a sprite? | reddit.com/r/endlesssky | 2023-01-23

    Yep, it's part of the definition of a turret mount point. On this wiki page, about halfway down the page, you have the turret section, where it's described.

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

  • Panda3D

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

    Project mention: Ask HN: What is your new year's resolution? | news.ycombinator.com | 2023-01-01

    Sort of.

    1. I want to start with working through applying shaders to a 3d scene using the Panda3d library (https://github.com/panda3d/panda3d) . This repo covers that: https://github.com/lettier/3d-game-shaders-for-beginners.

    2. Create a simple, custom, graphics-only (no collisions / physics) game engine using Entt (https://github.com/skypjack/entt) and Panda3d. The engine would rely mostly on simple inputs, like mouse clicks, and 3d graphics.

    3. Configure clangd to warn on features outside C++11 then refactor both projects (1 & 2)

    4. Run experiments on the game engine while working through the Vulkan book: https://raw.githubusercontent.com/Overv/VulkanTutorial/maste...

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

  • love

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

    Project mention: Bard has entered the chat | reddit.com/r/ProgrammerHumor | 2023-02-07

    You mean the game development library LÖVE?

  • imgui-node-editor

    Node Editor built using Dear ImGui

    Project mention: Phýsalis (try to rewrite on c++ blender extrude node) | reddit.com/r/proceduralgeneration | 2022-12-06

    I'm taking this low level node widget library: https://github.com/thedmd/imgui-node-editor

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

  • RuntimeCompiledCPlusPlus

    Change C++ code at runtime

    Project mention: hscpp: An experimental library to hot-reload C++ | reddit.com/r/cpp | 2022-08-04

    hscpp (Hotswap C++) is an experimental library I created which allows you to hot-reload C++. It was heavily inspired by Runtime Compiled C++, and works by linking DLLs into your project at runtime.

  • GodotSteam

    An open-source and fully functional Steamworks SDK / API module and plug-in for the Godot Game Engine.

    Project mention: So how are people going about creating mods? | reddit.com/r/yomimodding | 2022-12-14

    You need this Godot build first, it is practically Godot for building games with Steam.

  • enkiTS

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

    Project mention: enkiTS VS MTL - a user suggested alternative | libhunt.com/r/enkiTS | 2022-02-28
  • imnodes

    A small, dependency-free node editor for dear imgui

    Project mention: Yet another one man game engine | reddit.com/r/gameenginedevs | 2023-01-13

    it is! used this lib imnodes although it just manages UI part, the graph itself is a custom implementation since I wanted to be able to process those through my own threading system and things like that

  • cr

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

    Project mention: hscpp: An experimental library to hot-reload C++ | reddit.com/r/cpp | 2022-08-04

    I much prefer the approach taken by cr.h which monitors a "plugin" binary instead and acts as a simple wrapper around platform specific dll/dylib/so loading. You then have a multitude of strategies if you need persist state such as serialization, placing code or data on the host side and using virtual methods/fptrs, holding third party lib references to dlls on the host side or using the CR_STATE mechanism for simple things.

  • imgui_markdown

    Markdown for Dear ImGui

  • ezEngine

    An open source C++ game engine.

  • dxwrapper

    Fixes compatibility issues with older games running on Windows 10 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.

    Project mention: playing Diablo 1 on windows 7. how do I fix the colors? | reddit.com/r/Diablo | 2023-01-12
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-02-08.

C++ Gamedev related posts

Index

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

Project Stars
1 Godot 57,394
2 imgui 45,226
3 3d-game-shaders-for-beginners 14,466
4 bgfx 12,674
5 entt 7,722
6 o3de 5,912
7 tracy 4,998
8 magnum 4,321
9 endless-sky 3,800
10 FlaxEngine 3,771
11 Panda3D 3,690
12 NoahGameFrame 3,638
13 love 2,996
14 imgui-node-editor 2,486
15 defold 2,441
16 RuntimeCompiledCPlusPlus 1,964
17 GodotSteam 1,458
18 enkiTS 1,395
19 imnodes 1,381
20 cr 1,254
21 imgui_markdown 871
22 ezEngine 844
23 dxwrapper 801
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com