Showing 313 open source projects for "java 2d game source code"

View related business solutions
  • 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
  • $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
    Excalibur

    Excalibur

    An easy to use 2D HTML5 game engine written in TypeScript

    An open-source 2D HTML5 game engine. Excalibur was built from the ground up for TypeScript, a typed superset of JavaScript that feels familiar to C#, Java, and other strongly-typed languages. This makes Excalibur code clean, readable, and maintainable. Excalibur has a fully-documented API reference that is automatically kept up-to-date with every version, including the main code branch.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 2
    OpenSoldat

    OpenSoldat

    OpenSoldat is a unique 2D (side-view) multiplayer action game

    OpenSoldat is a unique 2D (side-view) multiplayer action game. It has been influenced by the best of games such as Liero, Worms, Quake, Counter-Strike, and provides a fast-paced gaming experience with tons of blood and flesh. This repository contains the source code of the so-called 1.8 version. Compared to the original version, the code has undergone many changes but is not in a finished state.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    ursina

    ursina

    A game engine powered by python and panda3d

    ursina is an easy-to-use, open source game engine and framework for Python that is built on top of Panda3D, aiming to make game development approachable while still being powerful enough for real projects. It lets you create both 2D and 3D games, applications, and visualizations by writing concise Python scripts instead of dealing with a lot of low-level boilerplate.
    Downloads: 23 This Week
    Last Update:
    See Project
  • 4
    HaxeFlixel

    HaxeFlixel

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

    HaxeFlixel is an open-source 2D game framework built on top of the cross-platform toolkit Haxe + OpenFL, designed to allow developers to build games that can run on web, desktop, and mobile targets from a single codebase. Because it uses Haxe and OpenFL, HaxeFlixel games can compile to many targets: native desktop (Windows, macOS, Linux), mobile (Android, iOS), as well as web (HTML5), and even historically Flash. It is licensed under MIT and completely free for personal or commercial use....
    Downloads: 2 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 5
    libGDX

    libGDX

    Desktop/Android/HTML5/iOS Java game development framework

    libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux, macOS, Android, your browser and iOS. libGDX provides a well-tried and robust environment for rapid prototyping and fast iterations. libGDX does not force a specific design or coding style on you; it rather gives you the freedom to create a game the way you prefer.
    Downloads: 37 This Week
    Last Update:
    See Project
  • 6
    Stride

    Stride

    Stride (formerly Xenko), a free and open-source cross-platform C# game

    Stride (formerly known as Xenko) is a full-featured, open-source game engine written in C# and targeting the .NET ecosystem, designed for both 2D and 3D games — and even VR experiences. Stride offers a comprehensive toolchain: an editor for scene building, asset management, a rendering pipeline with physically-based rendering (PBR), and support for advanced graphics features such as real-time reflections, post-processing effects, and complex materials (skin, hair, cloth, etc.). ...
    Downloads: 9 This Week
    Last Update:
    See Project
  • 7
    Jazz2

    Jazz2

    Jazz² Resurrection: Open-source reimplementation of Jazz Jackrabbit 2

    jazz2 is a reverse engineering and decompilation project of Jazz Jackrabbit 2, the iconic 2D platformer developed by Epic MegaGames in the late 1990s. This ambitious project aims to recreate the original game from its binary form into readable and compilable C++ code. By doing so, it opens the door for native builds, modding, bug fixing, and potential enhancements beyond the limitations of the original closed-source game.
    Downloads: 14 This Week
    Last Update:
    See Project
  • 8
    Gideros

    Gideros

    Gideros Release version

    ...You can easily extend the core with plugins. Import your existing (C, C++, Java or Obj-C) code, bind to Lua, and interpret them directly. Dozens of open-source plugins are already developed and ready to use: ads, in-app purchases, physics for 2d or 3d, Steam integration, and many more.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    Defold

    Defold

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

    Defold is an open-source, cross-platform game engine originally developed for 2D games but also capable of 3D — intended to give developers a turnkey solution for building games for desktop, mobile, web, and even consoles. It ships as a full editor/IDE, combining scene editing, asset management, scripting, and build/export pipelines, so developers don’t need to assemble disparate tools themselves.
    Downloads: 15 This Week
    Last Update:
    See Project
  • Gemini 3 and 200+ AI Models on One Platform Icon
    Gemini 3 and 200+ AI Models on One Platform

    Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

    Build generative AI apps with Vertex AI. Switch between models without switching platforms.
    Start Free
  • 10
    MCreator

    MCreator

    Make Minecraft Java Edition mods, Minecraft Bedrock Edition Add-Ons

    MCreator is an open-source integrated development environment designed to simplify the process of creating Minecraft mods, add-ons, resource packs, and data packs. The software provides a visual programming environment where users can design mod features using graphical tools instead of writing code manually. Through wizards, block-based programming interfaces, and an integrated editor, MCreator generates the underlying Java or JSON code required for the mod automatically. ...
    Downloads: 18 This Week
    Last Update:
    See Project
  • 11
    Ct.js

    Ct.js

    Ct.js is a desktop game engine that makes learning programming fun

    ct.js makes learning programming fun and game development easy by its visual tools, good docs and flexible, modular library. It is free, open-source, and is loved by hobbyists, professionals, teachers, and their students. Bad tools hinder your performance. Ct.js is designed to be like a brush with which you create games, not to be an enemy you will fight with. ct.js bundles come with offline docs, tutorials, and editable examples and demos. The code editor highlights errors and provides...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 12
    Planck.js

    Planck.js

    2D JavaScript Physics Engine

    Planck.js is a JavaScript rewrite/port of the physics engine Box2D, designed to provide 2D rigid-body physics simulation usable directly in web contexts or any JavaScript environment. By offering collision detection, rigid-body dynamics, joints, and simulation capabilities, Planck.js makes it possible for developers to build physically realistic 2D games, simulations, or visualizations in browsers or Node.js without relying on native code. Its API mirrors Box2D’s concepts — bodies, fixtures,...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    FXGL

    FXGL

    Java/JavaFX/Kotlin Game Library (Engine)

    No installation or setup required. "Out of the box": Java 8-17, Win/Mac/Linux/Android 8+/iOS 11.0+/Web. Simple and clean API, higher level than other engines. Superset of JavaFX, no need to learn new UI API. Real-world game development techniques, entity-component, interpolated animations, particles, and many more. Games are easily packaged into a single executable .jar or native images. Any 2D game (side-scroller/platformer/arcade/RPG). Any business application with complex UI...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    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...
    Downloads: 35 This Week
    Last Update:
    See Project
  • 15
    LittleJS

    LittleJS

    The Tiny JavaScript Game Engine That Can!

    LittleJS is a super lightweight 2D JavaScript game engine with fast WebGL rendering. It is designed to be small, simple, and easy to use for various applications, from game jams to commercial releases. This engine has everything necessary to make high-quality games, including fast rendering, physics, particles, sound effects, music, keyboard/mouse/gamepad input handling, update/render loop, and debug tools. It is recommended that you start by copying the LittleJS Starter Project This file is...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 16
    Universal Pokemon Randomizer ZX

    Universal Pokemon Randomizer ZX

    Public repository of source code for the Universal Pokemon Randomizer

    Universal Pokemon Randomizer ZX is an open-source tool that allows players to modify and randomize various aspects of Pokémon games across multiple generations, creating unique and unpredictable gameplay experiences. It supports a wide range of ROMs and provides a user-friendly interface for customizing game elements such as Pokémon encounters, abilities, stats, movesets, and item distributions. The tool is designed to maintain game stability while introducing variability, ensuring that...
    Downloads: 200 This Week
    Last Update:
    See Project
  • 17
    Oak

    Oak

    A pure Go game engine

    Oak has recently brought in dependencies that include C code, but we still describe the engine as a Pure Go engine, which at face value seems contradictory. Oak's goal is that, by default, a user can pull down the engine and create a fully functional game or GUI application on a machine with no C compiler installed, so when we say Pure Go we mean that, by default, the library is configured so no C compilation is required, and that no major features are locked behind C compilation. We...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    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
  • 19
    Minecraft Development for IntelliJ

    Minecraft Development for IntelliJ

    Plugin for IntelliJ IDEA that gives special support for Minecraft mods

    Experience first class support for all of the major Java Minecraft development platforms, including Bukkit and derivatives such as Spigot and Paper, Sponge, Forge, Fabric, MCP, Mixins, LiteLoader, BungeeCord, and Waterfall. It also provides in-depth support for Access Transformer and NBT files, and more. Because of this, you can install the plugin through IntelliJ's internal plugin browser. Navigate to File -> Settings -> Plugins and click the Browse Repositories... button at the bottom of...
    Downloads: 42 This Week
    Last Update:
    See Project
  • 20
    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,...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Minestom

    Minestom

    1.21.11 Lightweight Minecraft server

    Minestom is an open-source Minecraft server development framework that allows developers to build custom Minecraft server software from scratch without relying on Mojang’s original server code. Instead of functioning as a traditional server implementation, Minestom acts as a lightweight library that provides the core networking and gameplay infrastructure needed to create Minecraft server applications.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    Mach Engine

    Mach Engine

    Zig game engine & graphics toolkit

    Mach is a game engine and graphics toolkit written in Zig, built with the goal of enabling high-performance, truly cross-platform 2D, 3D, GUI, and visualization applications. The project aims to deliver a modular, robust foundation where graphics, input, windowing, and rendering are unified under a modern, low-level but ergonomic API. Because Mach is written in Zig (with some shader code / WGSL), it leverages Zig’s performance and modern systems-level features while offering safe-ish...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Tweaked

    Tweaked

    Just another ComputerCraft fork

    Tweaked is a mod for Minecraft that adds programmable computers, turtles and more to the game. A fork of the much-beloved ComputerCraft, it continues its legacy with improved performance and stability, along with a wealth of new features. Tweaked can be installed from CurseForge or Modrinth. It runs on both Minecraft Forge and Fabric.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Purpur

    Purpur

    Purpur is a drop-in replacement for Paper servers

    Purpur is an open-source Minecraft server software built as a fork of the Paper server platform, designed to provide extensive configurability and gameplay customization for server administrators. It functions as a drop-in replacement for Paper, meaning existing servers can switch to Purpur without major changes while gaining access to additional features and configuration options. The project focuses on allowing administrators to modify gameplay mechanics, behaviors, and rules that are...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 25
    PixiJS

    PixiJS

    The HTML5 Creation Engine

    PixiJS is a fast and lightweight 2D rendering library that lets you create rich, interactive graphics, cross platform applications, and HTML5 games even without prior knowledge of WebGL. It’s a fantastic tool for creating rich, interactive content and with built-in cross platform compatibility and graceful degradation, there’s less work for you and more space for fun and creativity! PixiJS works across all devices and is incredibly fast. If you want to create exceptional experiences without...
    Downloads: 2 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next
MongoDB Logo MongoDB