C++ Game development

Open-source C++ projects categorized as Game development

Top 23 C++ Game development Projects

  • GitHub repo Godot

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

    Project mention: I have heard godot isn't that great for 3D yet, as a beginner I haven't seen any problems yet. What do people mean by this? | reddit.com/r/godot | 2021-04-10

    There is a list here https://github.com/godotengine/godot/issues/45022 but yea I use 3d and so far only a few gripes such as stop on slope paramter for move and slide.

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

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

    Project mention: The complete guide for open sourcing video games | reddit.com/r/linux_gaming | 2021-03-23
  • 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 tiled

    Flexible level editor

    Project mention: Looking for a premade buildings | reddit.com/r/RPGMaker | 2021-04-03

    Instead of screenshotting try assembling your building in Tiled.

  • GitHub repo Bullet

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

    Project mention: This is just ridiculous... | reddit.com/r/gaming | 2021-04-10

    Lines of code are extremely cheap. Every character (letter) in a text file is equal to 1 byte. 1 FUCKING BYTE! A single code file is like 1-5KB max. An entire directory of code files is like a few megabytes at most. What the fuck are you on about? Here's the source code of an entire fucking physics engine as an example: https://github.com/bulletphysics/bullet3. Wanna guess the size? 126 fucking megabytes (including binary files)!

  • GitHub repo assimp

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

    Project mention: Mesh optimization algorithms | reddit.com/r/VoxelGameDev | 2021-04-07

    Some other handy open source libraries you might find useful are: https://github.com/zeux/meshoptimizer https://github.com/assimp/assimp https://www.pmp-library.org/

  • GitHub repo GameNetworkingSockets

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

    Project mention: Counter-Strike: Global Offensive update for 3/24/21 (3/25/21 UTC) | reddit.com/r/GlobalOffensive | 2021-03-24

    https://github.com/ValveSoftware/GameNetworkingSockets/issues/165#issuecomment-806255220

  • GitHub repo entt

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

    Project mention: EnTT v3.7.0 is out: Gaming meets Modern C++ | reddit.com/r/gamedev | 2021-04-02

    If you are using EnTT and want to tell me hello or which of your products relies on it, do not hesitate to contact me! For everyone else interested in the library, the wiki contains more than what I've said here and the gitter and Discord channels are a great place to come and ask your first question!

  • GitHub repo Game-Networking-Resources

    A Curated List of Game Network Programming Resources

    Project mention: I'm looking for software with no encrypted traffic | reddit.com/r/software | 2021-04-05

    Are there games that you could find and analyze? I wonder if old school games (or their multiplayer lobby servers) would be easy targets (I'm pretty sure a buddy said the Tribes 2 server protocol was really basic, but I could be very wrong.) A list of resources I found: https://github.com/MFatihMAR/Game-Networking-Resources

  • GitHub repo urho3d

    Cross-platform 2D and 3D game engine.

    Project mention: Alternatives to Scratch | reddit.com/r/WatchScratchDie | 2021-03-30

    Urho3D (it does 2D too)

  • GitHub repo GDevelop

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

    Project mention: Where is a drag e drop (2D) game engine? | reddit.com/r/gamedev | 2021-04-09

    Same as last time you asked. Construct https://www.construct.net/en or gdevelop https://gdevelop-app.com/

  • GitHub repo Panda3D

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

    Project mention: Corporate Clash does what TTR doesnt | reddit.com/r/toontownrewritten | 2021-03-29

    You can see with Panda3D being an open-source project that someone back in August noted the bug and filed an issue, but the main developer of Panda3D wasn't able to fix it unless someone was willing to loan him a graphics card so he could debug the issue (or another person contributed to Panda3D who had that card and C++ / OpenGL experience). Then, 4 days ago (as of this post), the main developer got the graphics card he needed and resolved the issue and released a new version of the engine.

  • GitHub repo FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: Flax engine 1.1 is released with Linux support | reddit.com/r/linux_gamedev | 2021-03-29

    link to github repo

  • GitHub repo EpicSurvivalGameSeries

    Third-person Survival Game for Unreal Engine 4 (Sample Project)

    Project mention: Updated the open-source C++ Survival Game with a refreshed map (available on GitHub) | reddit.com/r/unrealengine | 2021-01-22

    direct link to GitHub: https://github.com/tomlooman/EpicSurvivalGameSeries

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

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

    Project mention: I need a few pointers. I want to make a 2D open world game. | reddit.com/r/gamedev | 2021-04-06

    No i understand that, i just thought Unity was meant for 3D games, and stuff like LÖVE - Free 2D Game Engine (love2d.org) is more appropriate for the specific use case.

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

  • GitHub repo Unvanquished

    An FPS/RTS hybrid game powered by the Daemon engine (a combination of ioq3 and XreaL)

    Project mention: So a friend got me Natural Selection 2 (Windows) and I'm getting HEAVY flashbacks to a game I used to play on Linux... | reddit.com/r/linux_gaming | 2021-03-18

    You're probably thinking of Tremulous, which is also forked as Unvanquished. Started life as a Quake 3 mod if I remember correctly.

  • GitHub repo Player

    RPG Maker 2000/2003 and EasyRPG games interpreter

    Project mention: I Got This Error With Weird Text Trying To Open | reddit.com/r/yume2kki | 2021-02-23
  • GitHub repo fheroes2

    Free implementation of Heroes of Might and Magic II game engine

    Project mention: Free Heroes of Might and Magic II Resurrection 0.9.2 released | reddit.com/r/opensourcegames | 2021-04-04

    They release a new version every month: https://github.com/ihhub/fheroes2/milestones

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-04-10.

Index

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

Project Stars
1 Godot 37,912
2 Cocos2d 15,110
3 CRYENGINE 10,572
4 pyxel 8,049
5 tiled 7,926
6 Bullet 7,760
7 assimp 6,446
8 GameNetworkingSockets 5,180
9 entt 5,061
10 Game-Networking-Resources 3,558
11 urho3d 3,508
12 GDevelop 2,702
13 Panda3D 2,690
14 FlaxEngine 2,435
15 EpicSurvivalGameSeries 2,083
16 Gosu 1,714
17 OpenJK 1,559
18 Amazon Lumberyard 1,460
19 love 1,344
20 acl 729
21 Unvanquished 597
22 Player 596
23 fheroes2 521