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: How do go from code in the terminal to a game like Stardew Valley? | reddit.com/r/learnprogramming | 2021-02-24

    If you want to try yourself and to see how it feels, try downloading Godot (a free game engine) and trying some of their tutorials. You can even try your hand at a 2d or a 3d demo game! See what you can tweak to give it your own character.

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

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo CRYENGINE

    CRYENGINE is a powerful real-time game development platform created by Crytek.

    Project mention: zero parameter single use functions... Are they worth it? | reddit.com/r/C_Programming | 2021-02-22
  • 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 any future to Multithreaded Minetest? | reddit.com/r/Minetest | 2021-02-24
  • GitHub repo entt

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

    Project mention: I need help understanding ECS. | reddit.com/r/gamedev | 2021-02-21

    You should probably look at something like Entt. It's C++, though. I assume you use C based from your sample code.

  • GitHub repo urho3d

    Cross-platform 2D and 3D game engine.

    Project mention: What are the best C++ frameworks for desktop applications? | reddit.com/r/cpp_questions | 2021-02-10

    wxWidgets/Qt for desktop, SFML for 2D games. Haven't seen recommendations for 3D except things like Godot. But https://urho3d.github.io/ looks fancy.

  • GitHub repo magnum

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

    Project mention: Best Vulkan wrapper / low-level graphics library? | reddit.com/r/GraphicsProgramming | 2021-02-09

    (Sorry for a self-promo, hope that's fine.) If you don't mind being an early adopter and use something that's still undergoing heavy development and is not complete yet, I'm building a low-level Vulkan wrapper in Magnum. If you aren't familiar with Magnum yet, it's a C++11 library that has (among other things) a thin OpenGL/GLES/WebGL wrapper that removes the platform-specific extension hell and most of the boilerplate while still allowing you to work with the raw APIs if you need ... and the same is now being done for Vulkan.

  • GitHub repo Torque3D

    MIT Licensed Open Source version of Torque 3D from GarageGames

  • GitHub repo Panda3D

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

  • GitHub repo GDevelop

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

    Project mention: Game engine for a 2D, top down, rogue like, pixel art game? | reddit.com/r/gamedev | 2021-02-16

    Or if you'd rather do a bit less coding, Construct 3 or GDevelop? Both of those are decent 2D engines with visual scripting. You can also try out both of them in the browser, so you can decide if you like them without having to download anything. (There are full local versions too, it's just convenient to be able to test something really quickly in a browser to see if you like it).

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

  • GitHub repo Gosu

    2D game development library for Ruby and C++

  • GitHub repo Torque2D

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

  • 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 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: Question about Anomaly mod. | reddit.com/r/stalker | 2021-02-10
  • 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: Making Doom3 Look The Best It Can On Windows | reddit.com/r/Doom | 2021-01-17

    dhewm3 does not support correct 16:9 HUD (and main menu) scaling due to the author's unwillingness to dive into this: 16:9 GUIs · Issue #233 · dhewm/dhewm3 · GitHub

  • GitHub repo The MOAI Multi-platform Game Engine

    This is the development repo of Moai SDK.

  • GitHub repo Oxygine

    Oxygine is C++ engine and framework for 2D games on iOS, Android, Windows, Linux and Mac

  • GitHub repo acl

    Animation Compression Library

    Project mention: What interpolating method should I use to interpolate between two scale key frames of a skeletal joint? I currently LERP between position keys, and SLERP between orientation(quaternion) keys. Should I also just use LERP for scaling? I remember reading somewhere to use a log function. | reddit.com/r/GraphicsProgramming | 2020-12-31

    Animation compression is a science in itself. https://github.com/nfrechette/acl is a pretty serious project for that.

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-02-24.


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

Project Stars
1 Godot 36,784
2 Cocos2d 15,026
3 CRYENGINE 10,483
4 pyxel 7,935
5 Minetest 5,764
6 entt 4,851
7 urho3d 3,474
8 magnum 3,364
9 Torque3D 3,239
10 Panda3D 2,628
11 GDevelop 2,626
12 Polycode 2,359
13 Spring RTS game engine 2,074
14 Gosu 1,704
15 Torque2D 1,630
16 OpenJK 1,547
17 KlayGE 1,496
18 xray-16 1,483
19 Amazon Lumberyard 1,432
20 dhewm3 1,246
21 The MOAI Multi-platform Game Engine 858
22 Oxygine 696
23 acl 694