C++ 2d-game

Open-source C++ projects categorized as 2d-game

Top 12 C++ 2d-game Projects

  1. endless-sky

    Space exploration, trading, and combat game.

    Project mention: Battle for Wesnoth: open-source, turn-based strategy game | news.ycombinator.com | 2026-04-06

    For anyone that was into Star Control check out Endless Sky:

    https://endless-sky.github.io

  2. SaaSHub

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

    SaaSHub logo
  3. Hypersomnia

    Multiplayer top-down shooter made from scratch in C++. Web version: https://play.hypersomnia.io Made in ๐Ÿ‡ต๐Ÿ‡ฑ

  4. ddnet

    DDraceNetwork, a free cooperative platformer game

  5. jazz2-native

    ๐ŸŽฎโ€‚ยทโ€‚Jazzยฒ Resurrection: Native C++ reimplementation of Jazz Jackrabbit 2

  6. detonator

    2D game engine and editor ๐Ÿ’ฅ๐Ÿ’ฃ

    Project mention: It's OK to Use Agentic to Revive the Projects You Never Were Going to Finish | news.ycombinator.com | 2026-04-25

    I have a simple script system in my editor that is designed to let the chatbot (Claude) to work on the content. The script interface lets it to import assets into the project, open them for editing, take a screenshot, export content. All data is in JSON so it typically figures out the data format quite fast and easily.

    Here screenshots of some UI styles that it generated.

    https://github.com/ensisoft/detonator/tree/master/uikit

  7. Candle

    2D lighting for SFML (by MiguelMJ)

  8. OpenCrystalCaves

    OCC is an unofficial open source engine reimplementation of the game trilogy Crystal Caves

  9. stylized_snake_game

    A cross-platform desktop stylized version of snake game made from scratch in C++/OpenGL.

  10. RAG3

    Top-down single/multiplayer shooter game with time manipulation mechanics.

  11. netpanzer

    NetPanzer is an open source 2d MMO warfare game designed for fast action combat. Join us on Discord: https://discord.gg/kCAB2CMswd

  12. AniGen

    automate generation of sprite animations

  13. PathOfCPP

    2D ARPG heavily inspired by PoE, written in C++ using SDL2 library for WinAPI and Rendering.

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++ 2d-game discussion

Log in or Post with

C++ 2d-game related posts

Index

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

# Project Stars
1 endless-sky 7,364
2 Hypersomnia 1,557
3 ddnet 784
4 jazz2-native 683
5 detonator 375
6 Candle 141
7 OpenCrystalCaves 85
8 stylized_snake_game 40
9 RAG3 25
10 netpanzer 23
11 AniGen 6
12 PathOfCPP 5

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

Did you know that C++ is
the 7th most popular programming language
based on number of references?