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

View related business solutions
  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. Developers get access to both Gemini and third-party models.
    Get started
  • 1
    Phoenix Code Editor

    Phoenix Code Editor

    Phoenix is a modern open-source Code Editor for the web

    Phoenix is a modern open-source and free software code editor for the web, built for the browser.
    Downloads: 65 This Week
    Last Update:
    See Project
  • 2
    Phaser HTML5 Game Framework

    Phaser HTML5 Game Framework

    Phaser is a free and fast 2D game framework for making HTML5 games

    Phaser is a popular open-source 2D game framework for making HTML5 games for desktop and mobile platforms. Built with JavaScript and powered by WebGL and Canvas, it offers a robust API for developing everything from arcade to platformer and puzzle games.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 3
    Ct.js

    Ct.js

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

    ...The code editor highlights errors and provides documentation right while writing your code. ct.js is based on Pixi.js, works on WebGL and provides great performance in browsers and desktop environments. Modules add new powers, and when ct.js is not enough, you can add any JS code or library. A small stylized adventure with AI-powered sea battles, violent environment, and little puzzle sections.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 4
    LayaAir3.0

    LayaAir3.0

    LayaAir is an open-source 2D/3D engine

    The LayaAir engine is a game engine brand under Layabox . The LayaAir engine not only supports 2D, 3D, AR, VR and other types of game development but also can be used in advertising, marketing, education and other fields. In addition to the release of the HTML5 version, it also supports the release of Native-APP, WeChat mini-games, QQ mini-games, Baidu mini-games, Bilibili mini-games, Douyin mini-games, Toutiao mini-games, Alipay mini-games, OPPO mini-games, and vivo mini-games. ...
    Downloads: 3 This Week
    Last Update:
    See Project
  • Go from Code to Production URL in Seconds Icon
    Go from Code to Production URL in Seconds

    Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

    Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
    Start Free
  • 5
    Tower Building Game

    Tower Building Game

    HTML5 Canvas Tower Building Game

    Tower Building Game is a small game project — likely implementing a classic “tower defense” or “tower-based” game — designed to showcase game-development fundamentals such as rendering, game logic, user interaction, and possibly simple physics or animations. As an open-source repository, tower_game aims not only to deliver a playable game, but also to serve as a learning resource or template: developers can inspect its code, understand how game loops, input handling, asset management, and state updates are organized. ...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 6
    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.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 7
    Blooket Cheats

    Blooket Cheats

    05k0nz's legacy is safe

    Blooket-Cheats is a repository containing scripts and a small web interface for Blooket game modifications. It organizes cheat scripts by game mode and provides methods for loading them through bookmarklets, a GitHub Pages interface, or browser console execution. The repository includes folders for cheats, tutorials, auto-update logic, page styling, and front-end code. From a software perspective, it is a browser-script collection focused on manipulating a web game environment. ...
    Downloads: 573 This Week
    Last Update:
    See Project
  • 8
    Phaser Box2D

    Phaser Box2D

    A high-performance, industry-standard 2D physics engine built on Box2D

    Phaser Box2D is a high-performance 2D physics engine built on Box2D v3, tailored for Phaser games. It delivers realistic physics simulations, enhancing the interactivity and engagement of web-based games.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    ZeroScript Free

    ZeroScript Free

    ZeroScript Free: Turn ChatGPT, DeepSeek, Gemini, Kimi, GLM, Qwen

    ZeroScript Free connects browser-based AI assistants to Roblox Studio for interactive game development and automation. It works with ChatGPT, DeepSeek, Gemini, Kimi, GLM, Qwen, Arena, and Meta AI through a browser extension. A local Python bridge communicates with Roblox Studio using its built-in MCP server. Users can instruct AI assistants to inspect game objects, read and edit scripts, and execute Luau code. The integration also supports generating meshes, materials, and models. ...
    Downloads: 85 This Week
    Last Update:
    See Project
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 10
    PlayCanvas Engine

    PlayCanvas Engine

    Fast and lightweight JavaScript game engine built on WebGL and glTF

    PlayCanvas is an open-source game engine. It uses HTML5 and WebGL to run games and other interactive 3D content in any mobile or desktop browser. PlayCanvas is used by leading companies in video games, advertising and visualization such as Animech, Arm, BMW, Disney, Facebook, Famobi, Funday Factory, IGT, King, Miniclip, Leapfrog, Mojiworks, Mozilla, Nickelodeon, Nordeus, NOWWA, PikPok, PlaySide Studios, Polaris, Product Madness, Samsung, Snap, Spry Fox, Zeptolab, Zynga. The PlayCanvas Engine...
    Downloads: 23 This Week
    Last Update:
    See Project
  • 11
    NFS Carbon Android

    NFS Carbon Android

    Experimental static recompilation of Need for Speed Carbon

    Need for Speed Carbon 360 Android Recomp is an experimental native port of the Xbox 360 racing game for Android ARM64 and Windows x64. It uses ReXGlue to translate the original PowerPC game code into C++ without conventional CPU emulation. Android graphics use a Vulkan renderer adapted from the Need for Speed Most Wanted Android project. An alternative Xenos backend provides experimental Xbox 360 GPU emulation. The Android launcher supports importing game files, touchscreen controls, and Bluetooth controllers. ...
    Downloads: 198 This Week
    Last Update:
    See Project
  • 12
    Eva.js

    Eva.js

    Eva.js is a front-end game engine for creating interactive projects

    A front-end game engine specifically for creating interactive game projects. Eva.js provides out-of-box game components for developers to use right away. Yes, it's simple and elegant! Eva.js is powered by efficient runtime and rendering pipeline (Pixi.JS) which makes it possible to unleash the full potential of your device. Thanks to the ECS(Entity-Component-System) structure, you can expand your needs by highly customizable APIs. The only limitation is your imagination! Eva.js relies on...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    pilas-engine

    pilas-engine

    Educational game development environment designed to teach programming

    Pilas Engine is a free, open-source educational game development environment designed to teach programming through the creation of interactive video games. It provides a visual environment where beginners can build and experiment with two-dimensional games. Users can organize game scenes, position characters, and configure their behavior through programming tools. Its educational approach introduces concepts such as variables, events, conditions, and object interactions through practical...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    Google Snake Mod Loader

    Google Snake Mod Loader

    All Google Snake mods combined into one

    Google Snake Mod Loader is an open-source browser-based modification framework that extends the classic Google Snake game by enabling custom mods, gameplay enhancements, and visual changes directly within the web version of the game. It works by injecting JavaScript into the Google Snake page, allowing users to dynamically alter game behavior without needing to download or modify the original source code. The loader provides a centralized system for managing multiple mods, making it easy to toggle features such as new mechanics, custom maps, altered physics, or additional UI elements. ...
    Downloads: 38 This Week
    Last Update:
    See Project
  • 15
    melonJS

    melonJS

    A fresh & lightweight javascript game engine

    ...See our Gallery for a few examples of games powered by melonJS. melonJS integrates the popular Tiled map format, allowing designers easily create levels using the Tiled map editor, and to focus on the game features itself. A fresh and lightweight 2D sprite-based engine. Fast WebGL renderer for desktop and mobile devices with fallback to Canvas rendering.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    ReelMimic

    ReelMimic

    Show it a video you love. Get a new video in the same style

    ...Multiple AI agents collaborate to generate individual shots and review completed work. Users can monitor production, inspect revisions, and leave timestamped feedback directly on the video. ReelMimic runs locally with Claude Code or Codex and supports several 2D animation styles, including watercolor, pixel art, and motion graphics.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 17
    Phaser CE

    Phaser CE

    Phaser CE is a fun, free and fast 2D game framework

    Phaser CE is the community-maintained version of Phaser 2, offering bug fixes, new features, and ongoing improvements after official development moved to Phaser 3. It remains a stable choice for developers who prefer the Phaser 2 API.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 18
    Godot MCP

    Godot MCP

    MCP server for interfacing with Godot game engine

    Godot MCP is a Model Context Protocol server that enables AI assistants to directly interact with the Godot game engine, allowing programmatic control over game development workflows through natural language or agent-driven commands. It acts as a bridge between AI systems and the Godot editor, providing capabilities such as launching projects, running games in debug mode, and capturing runtime output for analysis. The tool is particularly valuable for AI-assisted game development, as it creates a feedback loop where agents can execute code, observe results, and iteratively improve their outputs. ...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    ControllerMeta

    ControllerMeta

    High-Precision Gamepad Analyzer

    ControllerMeta is a Windows gamepad diagnostic utility designed to analyze controller performance with high-precision input monitoring. It captures hardware input reports through the Win32 Raw Input interface for detailed measurements. The application can detect controller report rates reaching 8000 Hz. Real-time visualizations make it easier to examine input behavior and responsiveness. Its interface uses Microsoft Edge WebView2 to present interactive diagnostic information. Players can use...
    Downloads: 7 This Week
    Last Update:
    See Project
  • 20
    Sabaki

    Sabaki

    An elegant Go board and SGF editor for a more civilized age

    ...Sabaki is a modern, elegant, cross-platform Go/Baduk/Weiqi board and SGF editor for a more civilized age. It’s free, open source and uses web technology based on Electron. You can see its code, contribute or report an issue at our GitHub repository. Sabaki offers a variety of board markup tools, including the SGF 4-compliant line and arrow tool. Annotate your positions and moves, set hotspots in your favorite games, write reviews in Markdown. Sabaki also supports SGF game containers, saving and reading multiple games within one file. ...
    Downloads: 16 This Week
    Last Update:
    See Project
  • 21
    Lectrote

    Lectrote

    The IF interpreter in an Electron shell

    Lectrote is a cross-platform interactive fiction interpreter that lets users play text-based adventure games through a standalone desktop application. It packages multiple interpreters within an Electron interface powered by Chromium. The application supports Glulx, Z-code, Hugo, TADS 2, TADS 3, and ADRIFT 4 game formats. Players can open several games simultaneously in separate windows. Automatic session saving and restoration are available for supported formats, allowing stories to resume where they were left. Lectrote also includes tools for packaging individual interactive fiction titles as standalone applications. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    Complete JavaScript Course

    Complete JavaScript Course

    Starter files, final projects, and FAQ for Complete JavaScript course

    ...Learners can start with the starter code and compare their work with the final versions when debugging. The repository also links to deployed examples of major projects such as Pig Game, Bankist, Mapty, and forkify. It is primarily an educational companion resource rather than a standalone software product.
    Downloads: 9 This Week
    Last Update:
    See Project
  • 23
    Flexbox Froggy

    Flexbox Froggy

    A game for learning CSS flexbox

    Flexbox Froggy is an interactive browser game for learning CSS Flexbox. It teaches layout concepts by asking players to move frogs onto lily pads using real CSS properties. The game turns abstract alignment rules into visual challenges, making it easier for beginners to understand how Flexbox behaves. Players practice properties such as justify-content, align-items, flex-direction, order, align-self, flex-wrap, and align-content. The project is localized into many languages through community...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Grid Garden

    Grid Garden

    A game for learning CSS grid layout

    Grid Garden is an interactive browser game for learning CSS Grid layout. It teaches Grid concepts by asking players to water carrots and avoid weeds using CSS grid properties. The game makes grid placement, sizing, and alignment feel concrete through visual levels instead of static documentation. Learners practice properties such as grid-column-start, grid-column-end, grid-row-start, grid-row-end, grid-template-columns, grid-template-rows, and order. The repository includes the web game...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    Damn Vulnerable GraphQL Application

    Damn Vulnerable GraphQL Application

    Vulnerable implementation of Facebook's GraphQL technology

    Damn Vulnerable GraphQL Application is an intentionally vulnerable implementation of Facebook's GraphQL technology, to learn and practice GraphQL Security. DVGA has numerous flaws, such as Injections, Code Executions, Bypasses, Denial of Service, and more. See the full list under the Scenarios section. A public Postman collection is also available to replay solutions to the challenges. DVGA supports Beginner and Expert level game modes, which will change the exploitation difficulty.
    Downloads: 1 This Week
    Last Update:
    See Project