C++ Game development

Open-source C++ projects categorized as Game development

Top 23 C++ Game development Projects

Game development
  • Godot

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

    Project mention: Redot Engine – Multi-platform 2D and 3D game engine | news.ycombinator.com | 2024-10-01

    What is the difference between "Redot" and Godot?

    The README for this GitHub contains the same info as the official Godot repo [1], so it's not clear what this fork does differently or changes.

    [1] https://github.com/godotengine/godot

  • SaaSHub

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

    SaaSHub logo
  • imgui

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

    Project mention: Rewriting Rust | news.ycombinator.com | 2024-09-25
  • Cocos2d

    Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.

    Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • 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: The Book of Shaders | news.ycombinator.com | 2024-01-09

    This is a great series if you’re looking for a tutorial. https://lettier.github.io/3d-game-shaders-for-beginners/inde...

  • Bullet

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

    Project mention: Blaze: A High Performance C++ Math library | news.ycombinator.com | 2024-04-17

    For typical game physics engines... not that much. Math libraries like Eigen or Blaze use lots of template metaprogramming techniques under the hood that can help when you're doing large batched matrix multiplications (since it can remove temporary allocations at compile-time and can also fuse operations efficiently, as well as applying various SIMD optimizations), but it doesn't really help when you need lots of small operations (with mat3 / mat4 / vec3 / quat / etc.). Typical game physics engines tend to use iterative algorithms for their solvers (Gauss-Seidel, PBD, etc...) instead of batched "matrix"-oriented ones, so you'll get less benefits out of Eigen / Blaze compared to what you typically see in deep learning / scientific computing workloads.

    The codebases I've seen in many game physics engines seem to all roll their own math libraries for these stuff, or even just use SIMD (SSE / AVX) intrinsics directly. Examples: PhysX (https://github.com/NVIDIA-Omniverse/PhysX), Box2D (https://github.com/erincatto/box2d), Bullet (https://github.com/bulletphysics/bullet3)...

  • tiled

    Flexible level editor

    Project mention: Tiled 1.11 | news.ycombinator.com | 2024-07-29
  • assimp

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

  • entt

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

    Project mention: Using Jolt with flecs & Dear ImGui: Game Physics Introspection | dev.to | 2024-04-17

    EnTT is a popular alternative to flecs for C++, which has different performance/memory characteristics.

  • GameNetworkingSockets

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

    Project mention: How are game servers financed | /r/gamedev | 2023-12-06

    Steam does have a NAT traversal/punchthrough service too. It's apparently usable without Steam according to their README on https://github.com/ValveSoftware/GameNetworkingSockets but honestly the only easy to use implementation I know is in Facepunch.Steamworks which requires a SteamID to initialize

  • 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: Ask HN: What is the best code base you ever worked on? | news.ycombinator.com | 2024-06-28
  • cocos-engine

    Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.

    Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • JoltPhysics

    A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.

    Project mention: Jolt: Physics and collision detection library, used by Horizon Forbidden West | news.ycombinator.com | 2024-09-03
  • Recast/Detour

    Industry-standard navigation-mesh toolset for games

  • Piccolo

    Piccolo (formerly Pilot) – mini game engine for games104

  • endless-sky

    Space exploration, trading, and combat game.

    Project mention: Endless Sky: Open-Source Space Exploration, Trading, and Combat Game | news.ycombinator.com | 2024-09-29
  • love

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

    Project mention: Spirit Hunter - Post-Mortem | dev.to | 2024-10-06

    Early this year, I did game development with Love2D engine (relies on Lua language) and was inspired by its approach, so decided to make something similar myself for the competition.

  • Panda3D

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

    Project mention: Show HN: Homemade Automated Solar Concentrator | news.ycombinator.com | 2024-08-29

    I have developed a simple simulator [0] to estimate the theoretical power received by the target for a given hardware configuration:

    - the global position on the planet

    - the date and time

    - the size and position of some background elements

    - the number, size and position of the panels in the grid

    The solar power estimation uses :

    - the Python code provided in this article [1] to estimate position of the sun (thank you John Clark Craig)

    - the simplified formula [2] to estimate the direct insolation from the sun position

    - a custom light projection implemented using Panda3D game engine [3]

    [0] https://github.com/remipch/solar_concentrator/blob/master/so...

    [1] https://levelup.gitconnected.com/python-sun-position-for-sol...

    [2] https://en.wikipedia.org/wiki/Direct_insolation#Simplified_f...

    [3] https://www.panda3d.org/

  • SHADERed

    Lightweight, cross-platform & full-featured shader IDE

  • defold

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

    Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • 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.

  • imgui-node-editor

    Node Editor built using Dear ImGui

    Project mention: Node Editor for Imgui | news.ycombinator.com | 2024-06-12
  • ActionRoguelike

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

  • lumixengine

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

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

C++ Game development discussion

Log in or Post with

C++ Game development related posts

  • Spirit Hunter - Post-Mortem

    2 projects | dev.to | 6 Oct 2024
  • Jolt: Physics and collision detection library, used by Horizon Forbidden West

    1 project | news.ycombinator.com | 3 Sep 2024
  • Show HN: UE5 Dungeon Generator Plugin

    1 project | news.ycombinator.com | 3 Sep 2024
  • Show HN: Homemade Automated Solar Concentrator

    4 projects | news.ycombinator.com | 29 Aug 2024
  • Random Thoughts about Unity

    4 projects | news.ycombinator.com | 24 Aug 2024
  • Jolt Physics 5.1.0 brings soft body and improvements to character controller

    1 project | news.ycombinator.com | 12 Aug 2024
  • How to use an auto-tiling technique in your next game project

    3 projects | dev.to | 2 Jul 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Godot 90,052
2 imgui 60,320
3 Cocos2d 18,179
4 3d-game-shaders-for-beginners 17,756
5 Bullet 12,496
6 tiled 11,126
7 assimp 10,818
8 entt 10,090
9 GameNetworkingSockets 8,166
10 o3de 7,705
11 cocos-engine 7,172
12 JoltPhysics 6,568
13 Recast/Detour 6,516
14 Piccolo 5,849
15 endless-sky 5,779
16 love 4,936
17 Panda3D 4,488
18 SHADERed 4,324
19 defold 4,179
20 NoahGameFrame 3,944
21 imgui-node-editor 3,650
22 ActionRoguelike 3,534
23 lumixengine 3,480

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?