C++ Game Engine

Open-source C++ projects categorized as Game Engine

Top 23 C++ Game Engine Projects

  • Godot

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

    Project mention: I'm following this tutorial and they add something called a Spatial. But when I look it up in the Create New Node menu, it only gives me the Node option. Am I missing something here? I'm using the latest version of Godot. | /r/godot | 2023-12-05

    4.1 is newer than the version in the tutorial. They are using 3.x. Many things changed, but you COULD be fine following the tutorial and googling. If you don't want to invest into googling changes, you can download the LTS Version 3.5.3 on godotengine.org to follow the tutorial.

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

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Minetest

    Minetest is an open source voxel game engine with easy modding and game creation

    Project mention: Minetest 5.8.0 released! | /r/Minetest | 2023-12-05

    It is now available on the official GitHub repository: https://github.com/minetest/minetest/releases/tag/5.8.0

  • entt

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

    Project mention: Focus: A simple and fast text editor written in Jai | news.ycombinator.com | 2023-09-02

    https://pastebin.com/VPypiitk This is a very small experiment i did to learn the metaprogramming features. its an ECS library using the same model as entt (https://github.com/skypjack/entt). In 200 lines or so it does the equivalent of a few thousand lines of template heavy Cpp while compiling instantly and generating good debug code.

    Some walkthrough:

    Line 8 declares a SparseSet type as a fairly typical template. its just a struct with arrays of type T inside. Next lines implement getters/setters for this data structure

    Line 46 Base_Registry things get interesting. This is a struct that holds a bunch of SparseSet of different types, and providers getters/setters for them by type. It uses code generation to do this. The initial #insert at the start of the class injects codegen that creates structure members from the type list the struct gets on its declaration. Note also how type-lists are a native structure in the lang, no need for variadics.

    Line 99 i decide to do variadic style tail templates anyway for fun. I implement a function that takes a typelist and returns the tail, and the struct is created through recursion as one would do in cpp. Getters and setters for the View struct are also implemented through recursion

    Line 143 has the for expansion. This is how you overload the for loop functionality to create custom iterators.

    The rest of the code is just some basic test code that runs the thing.

  • 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: Amazon Lays Off 180 Employees in Its Games Division | news.ycombinator.com | 2023-11-13
  • Piccolo

    Piccolo (formerly Pilot) – mini game engine for games104

  • 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
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • JoltPhysics

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

    Project mention: Simulation Islands | news.ycombinator.com | 2023-10-10
  • 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 ? | /r/gamedev | 2022-12-09


  • GamePlay

    Open-source, cross-platform, C++ game engine for creating 2D/3D games.

    Project mention: Alternative Game Engines for Marooned Unity Developers | /r/gamedev | 2023-09-22

    Gameplay: Another promising MIT licensed engine for both 2D and 3D. Doesn't seem like there is much in the way of learning material though.

  • Panda3D

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

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

    Panda3D (MIT/C++) https://github.com/panda3d/panda3d

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

  • 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
  • Spring RTS game engine

    A powerful free cross-platform RTS game engine. - Report issues at https://springrts.com/mantis/ (by spring)

    Project mention: Zero-k: A libre sci-fi RTS game, with an economy based on metal and energy | news.ycombinator.com | 2023-11-19

    Seems the support would be a realistic feature, though, because it's based on https://springrts.com/ that does support MacOS X.

  • Torque3D

    MIT Licensed Open Source version of Torque 3D from GarageGames

    Project mention: Torque 3D: a C++ game engine | news.ycombinator.com | 2023-10-23
  • lumixengine

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

    Project mention: Ask HN: What Are You Working on This Year? | news.ycombinator.com | 2023-01-02

    I recently fell in love with node-based editors so I'm working on several plugins for my game engine https://github.com/nem0/LumixEngine, e.g. node-based procedural geometry plugin, node-based image editor, visual scripting or node-based level generator. I am also thinking about using WASM as runtime for the visual script, which also means easier support for scripting in other languages which can compile to WASM.

  • 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

  • xray-16

    Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

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

    Polycode is a cross-platform framework for creative code.

  • fheroes2

    fheroes2 is a recreation of Heroes of Might and Magic II game engine.

    Project mention: Show HN: Play Heroes of Might and Magic II demo from 1996 in the browser | news.ycombinator.com | 2023-11-28

    Emscripten port https://github.com/midzer/fheroes2 took me over 24 hours due removal of multi-threaded code - and rather slow compile laptop. Currently Browser Audio API can't run in a worker at all. PThreads are stable in Emscripten but can make issues for example if main thread is blocked via mutexes.

    Based on Original port https://github.com/ihhub/fheroes2 THX!

  • corona

    Solar2D Game Engine main repository (ex Corona SDK) (by coronalabs)

    Project mention: LÖVE: a framework to make 2D games in Lua | news.ycombinator.com | 2023-09-13
  • crown

    The flexible game engine.

    Project mention: Crown is a general purpose and data-driven game engine, written in orthodox C++ with a minimalistic and data-oriented design philosophy in mind. | /r/coolgithubprojects | 2023-03-03
  • KlayGE

    KlayGE is a cross-platform open source game engine with plugin-based architecture.

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

C++ Game Engine related posts


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

Project Stars
1 Godot 78,113
2 Cocos2d 17,608
3 Minetest 9,617
4 entt 8,950
5 o3de 7,015
6 Piccolo 5,200
7 cocos-engine 4,840
8 JoltPhysics 4,651
9 magnum 4,567
10 GamePlay 4,250
11 Panda3D 4,103
12 NoahGameFrame 3,838
13 defold 3,353
14 Spring RTS game engine 3,346
15 Torque3D 3,339
16 lumixengine 3,249
17 Atomic Game Engine 3,027
18 xray-16 2,598
19 Polycode 2,372
20 fheroes2 2,315
21 corona 2,307
22 crown 1,965
23 KlayGE 1,943
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives