Showing 645 open source projects for "2d game code"

View related business solutions
  • Stop Storing Third-Party Tokens in Your Database Icon
    Stop Storing Third-Party Tokens in Your Database

    Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

    Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
    Try Auth0 for Free
  • $300 in Free Credit Towards Top Cloud Services Icon
    $300 in Free Credit Towards Top Cloud Services

    Build VMs, containers, AI, databases, storage—all in one place.

    Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
    Get Started
  • 1
    Solar2D Game Engine

    Solar2D Game Engine

    Solar2D Game Engine main repository (ex Corona SDK)

    This is a fully open source project that is forked of the well-established and widely used Corona SDK game engine, which is no longer commercially supported. Development is lead by Vlad Shcherban, former technical lead engineer at Corona Labs Inc. If you are using this engine, consider supporting its development. Develop for mobile, desktop, and connected TV devices with just one code base: iOS, tvOS, Android, Android TV, macOS, Windows, Linux, or HTML5.
    Downloads: 16 This Week
    Last Update:
    See Project
  • 2
    SuperTux

    SuperTux

    Classic 2D side-scrolling platformer game

    SuperTux is a classic 2D side-scrolling platformer game inspired by titles like Super Mario Bros. Players control Tux, the Linux mascot, navigating through various levels filled with obstacles and enemies. The game features a rich set of levels, engaging gameplay mechanics, and a level editor for creating custom stages.
    Downloads: 26 This Week
    Last Update:
    See Project
  • 3
    Defold

    Defold

    Free game engine for development of desktop, mobile, and web games

    Game logic is written in Lua (with optional native extensions in C/C++ when needed), and the engine uses a component-based system and a message-passing paradigm to manage object interactions — a design that promotes loosely-coupled, reactive game code rather than traditional heavy OOP. Defold is optimized for efficiency: exported games tend to have small binary size and low memory use, making it appealing for mobile, HTML5/web, and lightweight games.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 4
    Lumos Engine

    Lumos Engine

    Cross-Platform C++ 2D/3D game engine

    Cross-platform 2D and 3D Game Engine written in C++ that supports both OpenGL and Vulkan. Support for Windows, Linux, macOS. Support for OpenGL/Vulkan. D audio using OpenAL. Rendering 3D models with PBR shading. Debug gui using ImGui 3D collision detection - cuboid/sphere/pyramid. 2D collision detection - Box2D. Basic lua scripting support.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Add Two Lines of Code. Get Full APM. Icon
    Add Two Lines of Code. Get Full APM.

    AppSignal installs in minutes and auto-configures dashboards, alerts, and error tracking.

    Works out of the box for Rails, Django, Express, Phoenix, and more. Monitoring exceptions and performance in no time.
    Start Free
  • 5
    Thunder Engine

    Thunder Engine

    Cross-platform 2D and 3D game engine with modular architecture

    Thunder is a lightweight, modular game engine written in C++ that provides a robust foundation for creating 2D and 3D games across platforms. It emphasizes a clean, component-based architecture and is designed for flexibility, performance, and scalability. Thunder includes built-in support for scripting, resource management, physics, animation, and rendering, with tools that facilitate efficient game development and deployment.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 6
    Redot Engine

    Redot Engine

    Multi-platform 2D and 3D game engine

    Redot Engine is an open-source game engine that aims to provide a flexible foundation for building games — likely offering a modern, modular structure so developers can compose only the systems they need (rendering, physics, input, scripting, etc.). It is built to give a base framework rather than a full “batteries-included” engine, which makes it suitable for developers who prefer minimalism, want complete control over architecture, or desire to build custom workflows. Because it’s...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 7
    Cocos Engine

    Cocos Engine

    Cocos simplifies game creation and distribution with Cocos Creator

    The Cocos Engine repository powers the open-source core of Cocos Creator, a cross-platform game engine and editor designed for building 2D and 3D games for web and native targets. It aims to simplify game creation and distribution, with support for high-performance rendering, physics, scene management, asset pipelines, and more. The engine is built using a mix of C++ (for performance-critical systems) and TypeScript/JavaScript (for scripting), enabling developers to script game logic while relying on a robust, high-performance core. ...
    Downloads: 5 This Week
    Last Update:
    See Project
  • 8
    libGDX

    libGDX

    Desktop/Android/HTML5/iOS Java game development framework

    ...Publish your games on Windows, macOS, Linux (including the RPi!), Android, iOS, and HTML5, all with the same code base. libGDX comes with batteries included. Write 2D or 3D games and let libGDX worry about low-level details. Heavy emphasis is put on avoiding garbage collection for ART/JavaScript by careful API design and the use of custom collections. libGDX is a well proven and reliable framework with a sound base and documentation. Furthermore, there are plenty of games built on top of libGDX, many of which are open source.
    Downloads: 54 This Week
    Last Update:
    See Project
  • 9
    Axmol Engine

    Axmol Engine

    Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games

    Axmol is a modern C++ game engine forked from Cocos2d-x, designed to support high-performance 2D and lightweight 3D game development across multiple platforms. It improves upon the original Cocos2d-x with a cleaner architecture, better tooling, and support for modern C++ standards. Axmol supports scripting with Lua and JavaScript, and is suitable for both indie developers and studios targeting mobile, desktop, and web platforms.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Full-stack observability with actually useful AI | Grafana Cloud Icon
    Full-stack observability with actually useful AI | Grafana Cloud

    Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

    Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
    Create free account
  • 10
    Unleashed Recompiled

    Unleashed Recompiled

    An unofficial PC port of the Xbox 360 version of Sonic Unleashed

    Unleashed Recompiled is a reverse engineering and recompilation project aimed at reconstructing Sonic Unleashed for modern platforms by translating original console binaries into readable and rebuildable C++ code. Instead of emulating the game, the project focuses on decompilation and recompilation, allowing the game to run natively on modern hardware with improved performance and compatibility. It works by analyzing the original Xbox 360 or PlayStation 3 binaries and recreating equivalent source code that can be compiled using modern toolchains. ...
    Downloads: 19 This Week
    Last Update:
    See Project
  • 11
    N64: Recompiled

    N64: Recompiled

    Tool to statically recompile N64 games into native executables

    N64: Recompiled is an open-source recompilation framework designed to translate Nintendo 64 game binaries into modern, portable C code that can be compiled and executed natively on contemporary systems. Instead of relying on traditional emulation, which interprets instructions at runtime, N64Recomp focuses on static recompilation, converting MIPS-based N64 binaries into readable and buildable source code. This approach allows developers to run classic games with improved performance, lower latency, and better integration with modern hardware and operating systems. ...
    Downloads: 16 This Week
    Last Update:
    See Project
  • 12
    Multi Theft Auto: San Andreas

    Multi Theft Auto: San Andreas

    Multi Theft Auto is a game engine

    Multi Theft Auto (MTA) is a software project that adds network play functionality to Rockstar North's Grand Theft Auto game series, in which this functionality is not originally found. It is a unique modification that incorporates an extendable network play element into a proprietary commercial single-player PC game. Multi Theft Auto is based on code injection and hooking techniques whereby the game is manipulated without altering any original files supplied with the game.
    Downloads: 109 This Week
    Last Update:
    See Project
  • 13
    Command & Conquer Remastered Collection

    Command & Conquer Remastered Collection

    Command & Conquer: Remastered Collection

    The CnC_Remastered_Collection repository publishes source code for key parts (e.g. TiberianDawn.dll, RedAlert.dll, and the map editor) of the Command & Conquer Remastered Collection, enabling modding and transparency. This open code release supports the Steam Workshop, mod creation, and community enhancements. The quickest way to build all configurations in the project is open CnCRemastered.sln in Microsoft Visual Studio (we recommend using 2017 as later versions report an error due to a...
    Downloads: 29 This Week
    Last Update:
    See Project
  • 14
    XenonRecomp

    XenonRecomp

    A tool for recompiling Xbox 360 games to native executables

    ...By targeting the Xenon architecture specifically, it enables more accurate and efficient reconstruction of Xbox 360 titles. Developers can use XenonRecomp to explore game internals, debug behavior, and create modifications or enhancements that would be difficult in an emulator environment.
    Downloads: 14 This Week
    Last Update:
    See Project
  • 15
    slua-unreal

    slua-unreal

    lua dev plugin for unreal engine 4 or 5

    Slua-unreal is an unreal4 plugin, which allows you to use Lua language to develop game logic and hot fix your code. It gives you 3 ways to wrap your C++ interface to Lua, including reflection by blueprint, C++ template, and static code generation. It also enables two-way communication between Blueprint and Lua. The advantage of Lua over C++ is that it requires no compilation for logic change, which significantly speeds up the game development process.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    PuerTS

    PuerTS

    Write your game with TypeScript in UE or Unity

    Write your game with TypeScript in UE or Unity. PuerTS can be pronounced as pu-erh TS. PuerTS is a TypeScript programming solution within game engines. Facilitates game-building processes by combining JavaScript ecosystem with the rendering power of professional game engines. In contrast to lua script, TypeScript supports static type checking, which significantly improves code robustness and maintainability.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Flax Engine

    Flax Engine

    Flax Engine, multi-platform 3D game engine

    The most agile game engine is now available. Full source code. Full power. Fully featured. Flax Engine is a high-quality modern 3D game engine written in C++ and C#. From stunning graphics to powerful scripts - Flax can give everything for your games. Designed for fast workflow with many ready-to-use features waiting for you right now. Flax Visual Studio extension provides better programming workflow, C# scripts debugging functionality, and allows to attach to running engine instance to debug C# source. ...
    Downloads: 8 This Week
    Last Update:
    See Project
  • 18
    DevilutionX

    DevilutionX

    Diablo build for modern operating systems

    DevilutionX is a port of Diablo and Hellfire that strives to make it simple to run the game while providing engine improvements, bugfixes, and some optional quality-of-life features. Check out the manual for what features are available and how best to take advantage of them. You'll need access to the data from the original game. If you don't have an original CD then you can buy Diablo from GoG. Alternatively you can use spawn.mpq from the shareware version, in place of DIABDAT.MPQ, to play the shareware portion of the game. ...
    Downloads: 16 This Week
    Last Update:
    See Project
  • 19
    Diplomacy Cicero

    Diplomacy Cicero

    Code for Cicero, an AI agent that plays the game of Diplomacy

    The project is the codebase for an AI agent named Cicero developed by Facebook Research. It is designed to play the board game Diplomacy by combining open-domain natural language negotiation with strategic planning. The repository includes training code, model checkpoints, and infrastructure for both language modelling (via the ParlAI framework) and reinforcement learning for strategy agents. It supports two variants: Cicero (which handles full “press” negotiation) and Diplodocus (a variant focused on no-press diplomacy) as described in the README. ...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 20
    OpenRW

    OpenRW

    Recreation of the classic Grand Theft Auto III game executable

    OpenRW is a cross-platform, open-source re-implementation of the game engine behind Grand Theft Auto III (GTA III). Its goal is to recreate the original gameplay engine in a modern, maintainable codebase so that GTA III can run natively on modern Windows, Linux, macOS, and BSD systems — long after the original executable becomes unworkable. The project does not ship with game content: users still need a legitimate copy of GTA III (with its original assets) to play, making OpenRW strictly an...
    Downloads: 6 This Week
    Last Update:
    See Project
  • 21
    dhewm 3

    dhewm 3

    dhewm 3 main repository

    ...Compared to the original version of Doom3, dhewm3 has many bugfixes, supports EAX-like sound effects on all operating systems and hardware (via OpenAL Softs EFX support), has much better support for widescreen resolutions and has 64bit support. It only supports old Mods if they either don’t require their own game DLL or have been ported to dhewm3. Note that while the Doom3 source code has been released under GPL, you still need to legally own the game and provide dhewm3 the game data to play. See the How to Install section for more information.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 22
    Moon

    Moon

    A lightweight game server framework implemented with Actor Model

    Moon is a lightweight game server framework based on the actor model. One worker thread can have one or more actors (services), which communicate with each other through message queues. There are many features for game server development.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Descent 3

    Descent 3

    Descent 3 by Outrage Entertainment

    The Descent3 repository is the open source release of the Descent 3 game engine by Outrage Entertainment, maintained by the community under the GPL-3.0 license. It provides the full C and C++ engine source code, including the historically significant “1.5” patch that was previously created by developers and later stabilized by fans. The codebase covers the game’s rendering, physics, audio, networking, tools, and editor components, allowing enthusiasts to build, run, and modify the classic 6-degrees-of-freedom space shooter on modern systems. ...
    Downloads: 4 This Week
    Last Update:
    See Project
  • 24
    Overload

    Overload

    3D Game engine with editor

    A game engine made for Windows, without flourishes. Online documentation and commented sources. Develop complete games with our lua scripting system! Customize Overload editor as you like. Increase your productivity by changing the editor layout. Never feel lost by reading Overload wiki, full of tutorials and a highly documented scripting API! You don't need to watch hours of tutorials on YouTube, Overload is intuitive. Drag & dropping has never been so easy! We made our best to focus on...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Enigma

    Enigma

    Enigma is a puzzle game

    Enigma is a puzzle game inspired by Oxyd on the Atari ST and Rock and Roll on the Amiga. The object of the game is to find uncover pairs of identically colored Oxyd stones. Simple? Yes. Easy? Certainly not! Hidden traps, vast mazes, laser beams, and, most of all, countless hairy puzzles usually block your direct way to the Oxyd stones ...
    Downloads: 7 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next
MongoDB Logo MongoDB