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

View related business solutions
  • $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
  • 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
  • 1
    SFML.Net

    SFML.Net

    Official binding of SFML for .Net languages

    SFML.Net is the official .NET binding for the Simple and Fast Multimedia Library (SFML), providing C# developers with access to a powerful multimedia and game development framework. It wraps SFML’s C++ API into a user-friendly .NET interface, making it easy to build 2D games, multimedia apps, and simulations with graphics, sound, windowing, and input support. SFML.Net keeps the design idiomatic to C#, maintaining SFML's performance and portability while providing seamless integration with .NET languages like C# and F#.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Effekseer

    Effekseer

    This software is a particle effect editing tool

    Effekseer is an open-source tool designed for creating stunning visual effects for games and multimedia applications. It allows artists and developers to design complex particle effects through an intuitive graphical user interface, supporting various features like particles, beams, and distortion effects. Effekseer supports multiple platforms and integrates seamlessly with popular game engines, enabling the creation of rich visual experiences without extensive programming knowledge.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 3
    Moon

    Moon

    A lightweight game server framework implemented with Actor Model

    Moon is a lightweight game server framework based on the actor model. One worker thread can have one or more actors (services), which communicate with each other through message queues. There are many features for game server development.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 4
    Face Alignment

    Face Alignment

    2D and 3D Face alignment library build using pytorch

    ...While not required, for optimal performance(especially for the detector) it is highly recommended to run the code using a CUDA-enabled GPU. While here the work is presented as a black box, if you want to know more about the intrisecs of the method please check the original paper either on arxiv or my webpage.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 99.99% Uptime for MySQL and PostgreSQL Databases Icon
    99.99% Uptime for MySQL and PostgreSQL Databases

    Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

    Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
    Try Free
  • 5
    Basic Computer Games

    Basic Computer Games

    An updated version of the classic "Basic Computer Games" book

    Basic Computer Games is a modern revitalization of the classic “Basic Computer Games” book’s collection of games, ported and expanded into various modern, memory-safe and scripting languages. It includes illustrative code examples of many classic games (e.g. Blackjack, Bowling) in multiple languages, with the goal of making the historical games accessible and educational in safe modern environments. Definitely use the most recent versions and features of the target language, but also try to...
    Downloads: 8 This Week
    Last Update:
    See Project
  • 6
    PHPStan

    PHPStan

    Dscover bugs in your code without running it!

    ...You can increase PHPStan's capabilities on your code at your own pace. It makes work feel like a game. It doesn't matter how old your code is, PHPStan is here to help you improve it. Thanks to the baseline, you can start writing better code today. PHPStan offers extensions for popular frameworks like Symfony, Laravel or Doctrine. Even code taking advantage of magic methods and properties is understood well.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 7
    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: 137 This Week
    Last Update:
    See Project
  • 8
    Jspicl

    Jspicl

    A Javascript to PICO-8 Lua transpiler

    Jspicl is a JavaScript to PICO-8 Lua transpiler that allows developers to write their game logic in JavaScript, which is then transpiled into the Lua subset supported by PICO-8. This enables developers more comfortable with JavaScript to create games for the PICO-8 platform.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    librg

    librg

    Making multi-player gamedev simpler since 2017

    Making multi-player game dev simpler since 2017. Single-header cross-platform world replication in pure C99. librg is a lightweight library that serves as a middleware between data-transferring libraries (networking, file-streaming, etc.) and core application/game logic. The library was born to solve the complexities of setting up and managing the flow of multi-player games and dedicated game servers. It came a long way in stripping out things that were non-essential, slowly sculpting into...
    Downloads: 0 This Week
    Last Update:
    See Project
  • Build Securely on AWS with Proven Frameworks Icon
    Build Securely on AWS 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
  • 10
    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: 0 This Week
    Last Update:
    See Project
  • 11
    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: 0 This Week
    Last Update:
    See Project
  • 12
    JOML

    JOML

    A Java math library for OpenGL rendering calculations

    JOML is a high-performance, lightweight math library designed for 3D graphics applications in Java, particularly those using OpenGL, Vulkan, or LWJGL. It provides a complete suite of vector, matrix, quaternion, and geometry operations essential for real-time graphics and game development. Unlike other math libraries, JOML avoids object allocation during calculations, making it highly optimized for garbage-free performance. With precise control over mathematical operations and compatibility...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 13
    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: 2 This Week
    Last Update:
    See Project
  • 14
    GopherJS

    GopherJS

    Compiler from Go to JavaScript for running Go code in a browser

    GopherJS compiles Go code to pure JavaScript code. Its main purpose is to give you the opportunity to write front-end code in Go which will still run in all browsers. Nearly everything is supported, including Goroutines (compatibility documentation). Performance is quite good in most cases, see HTML5 game engine benchmark. Cgo is not supported. GopherJS requires Go 1.16 or newer.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    mslearn-tailspin-spacegame-web

    mslearn-tailspin-spacegame-web

    Code used in Microsoft Learn modules to support Azure DevOps

    The Tailspin Space Game Web project is a sample application created by Microsoft as part of its learning resources. It’s a web-based game application used in Microsoft Learn modules and documentation to demonstrate concepts such as Azure App Services, continuous integration and delivery (CI/CD) pipelines, and DevOps practices with GitHub Actions and Azure Pipelines. The project is intentionally lightweight and easy to deploy so learners can quickly experiment with cloud deployment, testing,...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    Cogent Core

    Cogent Core

    A free and open source framework for building powerful 2D and 3D apps

    Cogent Core is a free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere (Core). See the Cogent Core Website for more information, including extensive documentation and editable interactive running examples. The website itself is a Cogent Core app running on the web using wasm.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Cardboard SDK

    Cardboard SDK

    Open source Cardboard SDK and samples

    This SDK provides everything you need to create your own Virtual Reality (VR) experiences for Google Cardboard. It supports essential VR features, such as motion tracking, stereoscopic rendering, and user interaction via the viewer button. With these capabilities, you can build entirely new VR experiences, or enhance existing apps with VR capabilities. You can use the Cardboard SDK to turn a smartphone into a VR platform. A smartphone can display 3D scenes with stereoscopic rendering, track...
    Downloads: 8 This Week
    Last Update:
    See Project
  • 18
    p5.js

    p5.js

    Client-side JS platform for artists, designers and students to express

    p5.js is a JavaScript library for creative coding, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! p5.js is free and open-source because we believe software, and the tools to learn it, should be accessible to everyone. Using the metaphor of a sketch, p5.js has a full set of drawing functionality. However, you’re not limited to your drawing canvas. You can think of your whole browser page as your sketch, including HTML5...
    Downloads: 5 This Week
    Last Update:
    See Project
  • 19
    Orx: Data-Driven Game Engine

    Orx: Data-Driven Game Engine

    Orx: Data-Driven 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: 22 This Week
    Last Update:
    See Project
  • 20
    HLSL++

    HLSL++

    Math library using HLSL syntax with multiplatform SIMD support

    HLSL++ is a header-only C++ math library designed to replicate the syntax and functionality of the HLSL shading language, making it easier for developers to write CPU-side code that mirrors GPU shader logic. It provides vector, matrix, and math operations with a syntax identical or very similar to HLSL, allowing seamless transition between shader code and application code. The library is optimized for performance and supports SIMD instructions across multiple architectures, including SSE, AVX, AVX2, AVX512, and ARM NEON, ensuring high efficiency on modern hardware. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    ai-notebooks

    ai-notebooks

    Some ipython notebooks implementing AI algorithms

    ai-notebooks is a collection of Jupyter notebooks that implements machine-learning and artificial-intelligence ideas in compact, inspectable experiments. The examples are written primarily in Python and use frameworks including TensorFlow, PyTorch, Keras, JAX, and tinygrad. Projects explore problems such as MNIST learning, GANs, VAEs, model compression, and knowledge distillation. Other notebooks examine reinforcement learning through PPO, SAC, TD3, VPG, and MuZero experiments. Transformer,...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 22
    Habitica for Android

    Habitica for Android

    Native Android app for Habitica

    Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor. This repository is related to the Android Native Application.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    SDL

    SDL

    Simple DirectMedia Layer

    SDL (Simple DirectMedia Layer) is a cross-platform multimedia development library designed to provide low-level access to hardware components such as graphics, audio, input devices, and system resources, making it a foundational tool for building games, emulators, and interactive applications. It abstracts platform-specific functionality into a consistent API, allowing developers to write code once and deploy it across multiple operating systems including Windows, macOS, Linux, iOS, and Android. SDL is written in C but is compatible with C++ and has bindings for multiple other programming languages, making it highly flexible for different development environments. The library is not a game engine itself, but rather a hardware abstraction layer that enables developers to build engines or applications on top of it with full control over performance and rendering. ...
    Downloads: 10 This Week
    Last Update:
    See Project
  • 24
    mruby

    mruby

    Lightweight Ruby

    ...It supports compiling Ruby scripts into bytecode or even C source code, providing flexibility for deployment in different environments.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    dnd kit

    dnd kit

    Accessible and extensible drag & drop toolkit for React

    Use hooks to turn your components into draggable elements and droppable areas with just a few lines of code. Control every aspect of how your draggable and droppable components should behave. Exposes hooks such as use draggable and undroppable, and won't require you to re-architect your app or create additional wrapper DOM nodes. Customizable collision detection algorithms, multiple activators, draggable overlay, drag handles, auto-scrolling, constraints, and so much more.
    Downloads: 0 This Week
    Last Update:
    See Project