Showing 183 open source projects for "python 2d game source code"

View related business solutions
  • $300 in Free Credit Across 150+ Cloud Services Icon
    $300 in Free Credit Across 150+ Cloud Services

    VMs, containers, AI, databases, storage | build anything. No commitment to start.

    Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
    Start Building Free
  • Run Any Workload on Compute Engine VMs Icon
    Run Any Workload on Compute Engine VMs

    From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

    Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
    Try Compute Engine
  • 1
    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: 27 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: 2 This Week
    Last Update:
    See Project
  • 3
    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: 5 This Week
    Last Update:
    See Project
  • 4
    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: 0 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 Studio. Switch between models without switching platforms.
    Start Free
  • 5
    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: 12 This Week
    Last Update:
    See Project
  • 6
    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
  • 7
    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: 0 This Week
    Last Update:
    See Project
  • 8
    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: 44 This Week
    Last Update:
    See Project
  • 9
    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: 2 This Week
    Last Update:
    See Project
  • Deploy Apps in Seconds with Cloud Run Icon
    Deploy Apps in Seconds with Cloud Run

    Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

    Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
    Try Cloud Run Free
  • 10
    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: 2 This Week
    Last Update:
    See Project
  • 11
    microStudio

    microStudio

    Free, open source game engine online

    ...You don't even need to create an account, you can start working as a guest. microStudio includes all you need to write code, create sprites and maps for your 2D game. All from your web browser. Your project is stored in the cloud, and accessible from anywhere. Write your game code in microScript, a simple language inspired by Lua. The documentation is always there to help. Create cool demos in just a few lines of code. microScript shines by its simplicity and interactivity. ...
    Downloads: 5 This Week
    Last Update:
    See Project
  • 12
    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: 2 This Week
    Last Update:
    See Project
  • 13
    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: 0 This Week
    Last Update:
    See Project
  • 14
    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: 63 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: 0 This Week
    Last Update:
    See Project
  • 16
    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: 0 This Week
    Last Update:
    See Project
  • 17
    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
  • 18
    Miracode

    Miracode

    A sharp, readable, vector-y version of Monocraft

    A web-based code editor with support for multiple programming languages, designed for collaborative projects.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    FreeOrion

    FreeOrion

    Source code repository of the FreeOrion project

    FreeOrion is a turn-based space empire-building game inspired by the classic Master of Orion series, with an emphasis on modularity, modding, and strategic depth. Built using C++ and Python, it features a flexible game engine and a custom UI tailored to 4X (eXplore, eXpand, eXploit, eXterminate) gameplay. Players manage planets, design ships, conduct research, engage in diplomacy, and wage war across a procedurally generated galaxy. FreeOrion offers a unique tech tree, customizable empires,...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 20
    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
  • 21
    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: 4 This Week
    Last Update:
    See Project
  • 22
    CMSS13

    CMSS13

    Contains the code for CM-SS13

    cmss13 is an open source fork of Space Station 13 that adapts the game into a Colonial Marines-inspired setting. Developed and maintained by the cmss13 community, it emphasizes tactical combat, military roleplay, and survival against xenomorph threats. The repository includes the complete source code, sprites, maps, and configuration files needed to run servers or contribute to development. Compared to traditional SS13 forks, cmss13 introduces unique mechanics such as marine squads, advanced...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Clay

    Clay

    High performance UI layout library in C

    Clay (short for “C Layout”) is a high-performance 2D UI layout library in C, offering a declarative, Flexbox-like layout model with microsecond performance. It features a single-header design, zero dependencies, and support for WebAssembly, making it lightweight yet powerful for responsive UI rendering. The Clay macro by default accepts an ID as its first argument, which is usually provided by the CLAY_ID() convenience macro. Elements can also be created with auto-generated IDs, by using the...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Castle Game Engine

    Castle Game Engine

    Game engine supporting many 3D/2D formats and graphic effects

    This project has moved to: - Our website https://castle-engine.io/ - GitHub repo: https://github.com/castle-engine/castle-engine/ Cross-platform 3D and 2D game engine for Object Pascal. Rendering and processing of game assets in glTF, X3D, VRML, Collada, Spine and other formats. Many graphic effects including shadows, shaders, mirrors, screen effects. Animation, collision detection, 3D sound. Extensible system of 3D objects, with out-of-the-box levels, items, intelligent creatures...
    Downloads: 14 This Week
    Last Update:
    See Project
  • 25
    OGRE

    OGRE

    scene-oriented, flexible 3D engine (C++, Python, C#, Java)

    OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce games and demos utilizing 3D hardware. The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes. We consider the results of our GL3Plus RenderSystem as the gold standard. The respective...
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next
MongoDB Logo MongoDB