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

View related business solutions
  • 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
  • Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
    Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

    Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

    Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
    Try Cloud SQL Free
  • 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
    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
  • 3
    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
  • 4
    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
  • 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
    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
  • 6
    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
  • 7
    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
  • 8
    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
  • 9
    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
  • AI-generated apps that pass security review Icon
    AI-generated apps that pass security review

    Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

    Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
    Try Retool free
  • 10
    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
  • 11
    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
  • 12
    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
  • 13
    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
  • 14
    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
  • 15
    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
  • 16
    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
  • 17
    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
  • 18
    Orx: Portable Game Engine

    Orx: Portable Game Engine

    Orx: Portable Game Engine

    Orx is a portable, lightweight, plugin-based, data-driven and extremely easy to use 2D-oriented game engine. As orx is data driven, it allows users to create games with a small number of lines of code and reduces drastically the development time.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 19
    PyCAPGE

    PyCAPGE

    PyCAPGE - Python Classic Adventure Point and Click Game Engine

    PyCAPGE (Python Classic Adventure Point and Click Game Engine) is a versatile, open-source framework designed for creating retro-style 2D graphic adventures using Python and Pygame. Inspired by the golden age of SCUMM games, it features a customizable 9-verb interface and robust inventory management. Key features include a Scene Manager supporting parallax scrolling, walk-behind masks, and depth-based character scaling.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    vivid

    vivid

    Vivid3D is an open-source 3D engine with powerful 2D UI.

    Vivid3D is a full 3D engine with open-source code, which also includes a full 2D UI. This UI is combined with the engine for the "Vivid3D" tool - which is similar in usage to Unity3D, in some regards.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Engo

    Engo

    Engo is an open-source 2D game engine written in Go

    Engo is an open-source 2D game engine written in Go. It uses the Entity-Component-System paradigm. The code is available on GitHub. If you encounter any problems, find any bugs, or want to request a feature, you can open an issue or chat with us on gitter. A cross-platform game engine written in Go following an interpretation of the Entity Component System paradigm.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    Amethyst Game Engine

    Amethyst Game Engine

    Data-oriented and data-driven game engine written in Rust

    ...Amethyst is open source and free software. You can use, read, modify, distribute its source code under the permissive MIT and Apache 2.0 licenses.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Frank Engine

    Frank Engine

    A 2D game engine and level editor

    Frank Engine is a game development framework with a built in editor written in C++. The goal is to be a fast way to create large open world 2D games with high quality graphics. Everything necessary to create a fully featured game is included: physics (Box2D), rendering (DirectX), level editor, dynamic lighting, particle system, sound, music (Ogg Vorbis), gamepad input, GUI, and debug console. The code is fairly well documented and includes simple starter projects build on.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 24
    KlayGE

    KlayGE

    KlayGE is a cross-platform open source game engine

    KlayGE is a cross-platform open source game engine with plugin-based architecture. It's started since 2003. The explicit goal of KlayGE is: to arm your engine with cutting-edge technology. It provides a framework to make game development, testing, porting as simple as possible. Before compiling KlayGE, Python 3.x+ and CMake 3.13+ must be installed first. Then you can run Build.py to build the whole code base.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    nCine

    nCine

    A cross-platform 2D game engine

    nCine is a cross-platform 2D game engine that runs on PC (Linux, Windows, macOS), Android, Raspberry Pi, and the web (Emscripten). The project has been in active development since June 2011. Source code is released under the MIT license and is available on GitHub. Visit the donate page to discover different ways to support and sponsor the project. Join the Discord server and meet the community of developers, users and players.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • Next
MongoDB Logo MongoDB