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

View related business solutions
  • $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
  • Go From AI Idea to AI App Fast Icon
    Go From AI Idea to AI App Fast

    One platform to build, fine-tune, and deploy ML models. No MLOps team required.

    Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
    Try Free
  • 1
    HaxeFlixel

    HaxeFlixel

    Free, cross-platform 2D game engine powered by Haxe and OpenFL

    ...It is licensed under MIT and completely free for personal or commercial use. HaxeFlixel emphasizes ease of use and rapid development for 2D games — ideal for pixel-art platformers, card games, puzzles, or 2D action games. It includes common utilities and abstractions for sprites, animations, input handling, game loops, asset management, and state transitions, making it easier to build a complete game without reinventing core infrastructure. Because of this, it has been used for successful indie games and prototypes alike, and remains a popular choice among developers.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 2
    Open QR Code

    Open QR Code

    Open QR Code is an open-source, cross-platform app

    Open QR Code is an open-source cross-platform application developed using Flutter as main framework used to build the application, in common C, C++, Dart, Skia (a 2D rendering engine), and Impeller (the default rendering engine on iOS), Java, Kotlin. Open QR Code allows users to generate and scan QR codes effortlessly. The app is available on Android, Windows, and the Web.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 3
    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: 14 This Week
    Last Update:
    See Project
  • 4
    Ebitengine

    Ebitengine

    A dead simple 2D game engine for Go

    Ebitengine (formerly known as Ebiten) is a lightweight, open-source 2D game engine built for the Go programming language. It is designed to be simple and easy to use, allowing developers to build games quickly with a clean and minimal API. Ebitengine supports cross-platform deployment, including desktop, mobile, web, and select console platforms. The engine provides essential features such as 2D graphics rendering, input handling, and audio playback.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Build Securely on Azure with Proven Frameworks Icon
    Build Securely on Azure with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 5
    MonoGame

    MonoGame

    One framework for creating powerful cross-platform games

    One framework for creating powerful cross-platform games. The spiritual successor to XNA with thousands of titles shipped across desktop, mobile, and console platforms. MonoGame is a fully managed .NET open source game framework without any black boxes. Create, develop and distribute your games your way. By leveraging C# and other .NET languages on Microsoft and Mono platforms you can write modern, fast, and reliable game code. We currently support iOS, Android, MacOS, Linux, all Windows platforms, PS4, PSVita, Xbox One, and Switch with more platforms on the way. ...
    Downloads: 23 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: 2 This Week
    Last Update:
    See Project
  • 7
    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: 35 This Week
    Last Update:
    See Project
  • 8
    J2ME-Loader

    J2ME-Loader

    A J2ME emulator for Android

    J2ME-Loader is a J2ME emulator for Android. It supports most 2D and 3D games (including Mascot Capsule 3D ones). Emulator has a virtual keyboard, individual settings for each application, scaling support. This project is a fork of J2meLoader. Enabling filtering in some cases can greatly reduce performance. Disable this option if the game is too slow. Image flickering issues can be fixed by enabling the "Immediate processing mode" option.
    Downloads: 16 This Week
    Last Update:
    See Project
  • 9
    macroquad

    macroquad

    Cross-platform game engine in Rust

    macroquad is a lightweight, easy-to-use game library for the Rust programming language, offering developers a relatively simple and streamlined path to build games across platforms. The library is heavily inspired by simpler game frameworks (like raylib), but brings the ergonomic and safety features of Rust to 2D — and some minimal 3D — development. With Macroquad, you don’t need to worry about low-level graphics plumbing: it handles window and input management, rendering, UI, and more, letting you focus on game logic. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • Fully Managed MySQL, PostgreSQL, and SQL Server Icon
    Fully Managed MySQL, PostgreSQL, and SQL Server

    Automatic backups, patching, replication, and failover. Focus on your app, not your database.

    Cloud SQL handles your database ops end to end, so you can focus on your app.
    Try Free
  • 10
    PojavLauncher

    PojavLauncher

    A Minecraft Java Edition Launcher for Android and iOS

    A Minecraft Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for the Android platform.
    Downloads: 973 This Week
    Last Update:
    See Project
  • 11
    ZXing

    ZXing

    Barcode scanning library for Java, Android

    ZXing or “Zebra Crossing” is an open source multi-format 1D/2D barcode image processing library that’s been implemented in Java, and also comes with ports to other languages. It currently supports the following formats: UPC-A and UPC-E EAN-8 and EAN-13 Code 39 Code 93 Code 128 ITF Codabar RSS-14 (all variants) RSS Expanded (most variants) QR Code Data Matrix Aztec ('beta' quality) PDF 417 ('alpha' quality) MaxiCode ZXing is made up of several modules, including a core image decoding library, JavaSE-specific client code, and Android client Barcode Scanner. ...
    Downloads: 81 This Week
    Last Update:
    See Project
  • 12
    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
  • 13
    OpenFL

    OpenFL

    Open source library for creative expression on the web, desktop, etc.

    OpenFL is a free and open-source, cross-platform software framework that empowers developers to create rich interactive applications and games using a single codebase that can run on web browsers, mobile devices, desktops, and even some consoles. It builds on the Haxe programming language and offers a familiar display list and event-driven API inspired by classic Adobe Flash and AIR, allowing developers to leverage well-known paradigms while targeting modern platforms. OpenFL supports 2D and...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    SkiaSharp

    SkiaSharp

    SkiaSharp is a cross-platform 2D graphics API for .NET platforms

    SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images. Building SkiaSharp is mostly straight forward. The main issue is the multiple dependencies for each platform. However, these are easy to install as they are found on the various websites.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 15
    Point Cloud Library

    Point Cloud Library

    A standalone, large scale, open project for 2D/3D image processing

    ...PCL is cross-platform, and has been successfully compiled and deployed on Linux, MacOS, Windows, and Android. To simplify development, PCL is split into a series of smaller code libraries, that can be compiled separately. This modularity is important for distributing PCL on platforms with reduced computational or size constraints.
    Downloads: 14 This Week
    Last Update:
    See Project
  • 16
    SwiftGodot

    SwiftGodot

    New Godot bindings for Swift

    SwiftGodot provides Swift language bindings for the Godot 4.2 game engine using the new GDExtension system (for 4.1 compatibility, use the 4.1 branch, preview for upcoming 4.3 release is in the 4.3 branch). SwiftGodot can be used to either build an extension that can be added to an existing Godot project, where your code is providing services to the game engine, or it can be used as an API with SwiftGodotKit which embeds Godot as an application that is driven directly from Swift. ...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    Skiko

    Skiko

    Kotlin Multiplatform bindings to Skia

    Skiko is an open-source graphics library from JetBrains that provides lightweight, cross-platform bindings for the Skia graphics engine tailored specifically for Kotlin Multiplatform and Compose applications. It serves as the low-level rendering backbone for Kotlin UI frameworks like Compose for Desktop and Compose for Web, enabling smooth, GPU-accelerated 2D graphics across Windows, macOS, Linux, and other supported targets without writing native code. Skiko abstracts away platform-specific rendering details while exposing Skia’s powerful features such as high-quality text shaping, image filters, path operations, and hardware accelerated canvases, making it ideal for building rich UI components, animations, games, or custom drawing surfaces. ...
    Downloads: 10 This Week
    Last Update:
    See Project
  • 18
    VVVVVV

    VVVVVV

    The source code to VVVVVV

    From the creator of Super Hexagon, VVVVVV, the hit 2010 indie platformer, now available on android and iOS! Winner of Indiecade's 2010 award for Most Fun/Compelling Game. There are two versions of the VVVVVV source code available, the desktop version (based on the C++ port, and currently live on Steam), and the mobile version (based on a fork of the original flash source code, and currently live on iOS and Android). If you’re looking for the game’s text, that’s mainly (but not entirely) in the Scripts.cpp and TerminalScripts.cpp classes. ...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 19
    Godot Kotlin JVM

    Godot Kotlin JVM

    Godot Kotlin JVM Module

    This is a Kotlin language binding for the Godot game engine. It is built as a module (like the C# binding) to interact with Godot's core internally. The binding provides you Godot APIs as Kotlin classes, so you can write your game logic completely in Kotlin. Your code will be compiled into a .jar which is then executed by an embedded JVM, so you don't have to worry that your users have Java installed.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 20
    raylib

    raylib

    A simple and easy-to-use library to enjoy videogames programming

    raylib is highly inspired by Borland BGI graphics lib and by XNA framework. Do you want to see all functions available in raylib? Check raylib cheatsheet. raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no auto-debugging, just coding in the most pure spartan-programmers way. raylib has received several recognitions in the last years and many people have written about the library. Here there are the main awards received from Google and...
    Downloads: 179 This Week
    Last Update:
    See Project
  • 21
    Anodyne 1 Repo

    Anodyne 1 Repo

    Action-adventure game originally released in 2013

    Anodyne is a surreal action-adventure game originally released in 2013 by Analgesic Productions. The 1-Repo is the open source release of the game’s source code, assets, level editor etc, so users can build, modify, or examine the game. The game features exploration, puzzles, a broom as a tool/weapon, top-down rooms, dreamlike narrative and atmosphere, and pixel-art graphics.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    FlatBuffers

    FlatBuffers

    Memory Efficient Serialization Library

    FlatBuffers is an open source, cross-platform serialization library designed for maximum memory efficiency. Originally created at Google for game development and other performance-critical apps, FlatBuffers has the unique ability of allowing you to directly access serialized data without having to parse or unpack beforehand. Since the only memory needed to access your data is that of the buffer, it is also very memory efficient and fast. FlatBuffers supports Windows, MacOS, Linux and...
    Downloads: 5 This Week
    Last Update:
    See Project
  • 23
    Play!

    Play!

    Play! - PlayStation2 Emulator

    ...is an open-source cross-platform emulator for Sony’s PlayStation 2 that aims to run PS2 games on a wide range of modern systems including Windows, macOS, Linux, Android, iOS, and web browsers by implementing core PS2 hardware functionality in software. It emulates primary components like the Emotion Engine CPU and graphics synthesizer, translating game code and hardware calls into host system operations, while providing users with controls to load disc images, manage states, and configure rendering options. Because the PS2’s architecture is complex and proprietary, Play! pursues compatibility incrementally, with many titles playable to varying degrees and an active compatibility tracker detailing individual game status. ...
    Downloads: 4 This Week
    Last Update:
    See Project
  • 24
    Xenia

    Xenia

    Xbox 360 Emulator Research Project

    Xenia is an open-source experimental emulator for the Xbox 360 that aims to let users run Xbox 360 games on Windows and other platforms by reverse-engineering the console’s hardware and firmware behavior in software. It implements the 360’s CPU (Xenon), GPU (including Direct3D shader logic), and system libraries to translate Xbox instructions into equivalent host machine operations, enabling many titles to launch and in some cases play at improved frame rates compared with the original...
    Downloads: 38 This Week
    Last Update:
    See Project
  • 25
    BikeControl

    BikeControl

    Do virtual gear shifting (and more) in any rider app

    BikeControl is a cross-platform tool aimed at enabling control of trainer apps (cycling/indoor training apps) using hardware controllers such as bike shifters, dedicated remotes (e.g. Zwift Click, Zwift Ride, Zwift Play), gamepads, or even generic Bluetooth HID devices. Instead of connecting to the trainer directly, BikeControl acts as a bridge: when you press a button or lever on your controller, it intercepts the input and simulates corresponding keyboard/mouse/touch events for your...
    Downloads: 16 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next
MongoDB Logo MongoDB