C++ Game Engine

Open-source C++ projects categorized as Game Engine

Top 23 C++ Game Engine Projects

  • GitHub repo Godot

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

    Project mention: Interior test scene in Godot 3.3 with new lightmapper | reddit.com/r/godot | 2021-06-15

    Actually, this is not the case. 4.0 has a GPU lightmapper which requires compute shaders to work. 3.3 got a new CPU lightmapper that replaced the old "last minute" CPU lightmapper that was initially added in 3.0.

  • GitHub repo Cocos2d

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

  • GitHub repo pyxel

    A retro game engine for Python

    Project mention: Engine for 10-year-old who also wants to learn how to write code (ie. not block programming) | reddit.com/r/gamedev | 2021-02-12

    Not a game dev, but I remember looking at a tiny game engine called pyxel that seems to fit your description very well.

  • GitHub repo Minetest

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

    Project mention: Is there a good open source android game worth playing? | reddit.com/r/opensourcegames | 2021-04-27

    Minetest for minecraft-like sandbox game.

  • GitHub repo entt

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

    Project mention: Understanding ENTT/ECS and cache | reddit.com/r/gamedev | 2021-06-15

    I'm in the process of developing a game using entt to implement ecs, since I've heard that it can help with performance by optimizing memory packing / cache hit rate.

  • GitHub repo urho3d

    Cross-platform 2D and 3D game engine.

    Project mention: 2D game framework/engine that is mostly code driven (not GUI-driven) | reddit.com/r/gamedev | 2021-06-02

    Urho3D, rbfx

  • GitHub repo magnum

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

    Project mention: Looking for code only game engine | reddit.com/r/opengl | 2021-03-29

    Try Magnum, it provides all you need for bootstrapping a game in modern C++: https://magnum.graphics

  • GitHub repo Torque3D

    MIT Licensed Open Source version of Torque 3D from GarageGames

    Project mention: [AskJS] Why are large, sprawling functions more common than small, compact ones? | reddit.com/r/javascript | 2021-04-30

    A hundred lines? Luxury! We used to have 800-line functions written in C++! But to us, that was "object-oriented" 😌

  • GitHub repo GamePlay

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

  • GitHub repo GDevelop

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

    Project mention: GDevelop: Crea Juegos con Javascript | reddit.com/r/fazt | 2021-06-13

  • GitHub repo Panda3D

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

    Project mention: How do i open toontown models/playgrounds into a program | reddit.com/r/toontownrewritten | 2021-06-12

    You can use any of the egg / bam conversion tools that come with the Panda3D SDK (https://www.panda3d.org/) to convert the models between different model formats that can be used in other modeling programs.

  • GitHub repo FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: Is there a good, open source, realistic OpenGL renderer for us to use? | reddit.com/r/opengl | 2021-05-30
  • GitHub repo lumixengine

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

    Project mention: Thinking of creating a Game Engine for my game... | reddit.com/r/gamedev | 2021-04-19
  • GitHub repo Polycode

    Polycode is a cross-platform framework for creative code.

  • GitHub repo Spring RTS game engine

    A powerful free cross-platform RTS game engine (by spring)

    Project mention: What are some proprietary programs you'd like an open source version of? | reddit.com/r/opensource | 2021-06-08

    so there's the Sprint RTS engine which is an open source framework for building RTS games. It's mature and there are many games available based on it.

  • GitHub repo Gosu

    2D game development library for Ruby and C++

    Project mention: The Ruby Unbundled Series: Creating Games with Gosu | dev.to | 2021-03-24

    Many games use graphics of some kind, and the Gosu gem provides a nice wrapper around OpenGL capabilities for Ruby. It describes itself as a 2D Game Developer library, so let’s look at the basics and create a few games. You likely would want to use Chipmunk as well for advanced gaming. It is a game physics engine that easily integrates with Gosu.

  • GitHub repo Torque2D

    MIT Licensed Open Source version of Torque 2D game engine from GarageGames

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

    Project mention: Hello everyone, the sources of the open xray stalker engine have been recently updated, which support cross-platform functionality. A question for connoisseurs of homebrew on a switch, can you assemble it on a switch, as was the case with openmw? | reddit.com/r/SwitchHacks | 2021-06-01
  • GitHub repo OpenJK

    Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software

    Project mention: Compiling OpenJK | reddit.com/r/linux_gaming | 2021-01-23

    I am hoping he is referring to this :) https://github.com/JACoders/OpenJK Which is an open source version of the starwars jedi knight academy games.

  • GitHub repo KlayGE

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

  • GitHub repo corona

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

    Project mention: The Gates to Hell: Apples Notarizing | news.ycombinator.com | 2021-04-30
  • GitHub repo Amazon Lumberyard

    Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.

    Project mention: Lumberyard source code - Amazon game engine | news.ycombinator.com | 2021-02-01
  • GitHub repo dhewm3

    dhewm 3 main repository

    Project mention: Legacy AMD GPU drivers. | reddit.com/r/linux_gaming | 2021-05-28

    The games you mentioned, UT99, Quake 4 and Doom 3 should run just fine with OpenGL though (If you aren't already, use the dhewm3 source port of DOOM 3!). Consider using the Windows version of UT99 through Wine though, that might save you some headaches.

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 2021-06-15.


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

Project Stars
1 Godot 39,112
2 Cocos2d 15,246
3 pyxel 8,208
4 Minetest 6,028
5 entt 5,276
6 urho3d 3,562
7 magnum 3,514
8 Torque3D 3,255
9 GamePlay 3,195
10 GDevelop 2,829
11 Panda3D 2,774
12 FlaxEngine 2,519
13 lumixengine 2,437
14 Polycode 2,355
15 Spring RTS game engine 2,121
16 Gosu 1,726
17 Torque2D 1,636
18 xray-16 1,595
19 OpenJK 1,588
20 KlayGE 1,555
21 corona 1,520
22 Amazon Lumberyard 1,506
23 dhewm3 1,293