JavaScript Gamedev

Open-source JavaScript projects categorized as Gamedev

Top 23 JavaScript Gamedev Projects

  1. phaser

    Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

    Project mention: Gamedev.js Jam 2025 start and theme announcement! | dev.to | 2025-04-13

    Gold : GitHub, Phaser Studio, OP Games, Playhop

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: React Three Ecosystem | news.ycombinator.com | 2025-05-10
  4. GDevelop

    ๐ŸŽฎ Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

    Project mention: No-Code Game Development: Using AI to Build Your First Game | dev.to | 2025-05-16

    GDevelop combines open-source flexibility with powerful no-code features. Their recent AI plugins provide remarkable capabilities:

  5. engine

    Powerful web graphics runtime built on WebGL, WebGPU, WebXR and glTF

    Project mention: Release Radar ยท August 2024: Major updates from the open source community | dev.to | 2024-09-05

    If you love building games, this one is for you. PlayCanvas is a WebGL and HTML5 game engine. Some of the web's most popular games have been built with PlayCanvas. The latest release has tonnes of breaking changes from removing WebGL1 support along with dozens of other legacy scripts and functions. There are also some new rendering features, materials, and blending tools. Dig into all the changes in the release notes.

  6. shapez.io

    shapez is an open source base building game on Steam inspired by factorio!

    Project mention: Shapez2 Released | news.ycombinator.com | 2024-08-20

    The original is open source! https://github.com/tobspr-games/shapez.io?tab=readme-ov-file

  7. melonJS

    a fresh, modern & lightweight HTML5 game engine

    Project mention: 10 must known JS/TS open-source packages | dev.to | 2024-06-11

    melonJS Lightweight HTML5 game engine.

  8. LittleJS

    LittleJS is the tiny fast HTML5 game engine with many features and no dependencies. ๐Ÿš‚ Choo-Choo!

    Project mention: Ask HN: Who Are Your Favorite Photography and Generative Coding Artists? | news.ycombinator.com | 2025-02-26
  9. InfluxDB

    InfluxDB โ€“ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. p2.js

    JavaScript 2D physics library

  11. bitECS

    Flexible, minimal, data-oriented ECS library for Typescript

  12. microstudio

    Free, open source game engine online

  13. lime

    A foundational Haxe framework for cross-platform development (by openfl)

  14. reldens

    Reldens - You can make it - Open Source MMORPG Platform

    Project mention: Reldens - Open source platform to create multiplayer RPG games | dev.to | 2024-11-20
  15. three-js-games

    ๐Ÿ‘พ The code for my Three.js game dev experiments on YouTube.

  16. GDevelop-extensions

    Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games

  17. jsrl

    JavaScript/TypeScript Roguelike Template - The basics to start building your own

  18. javascript-entity-component-system

    A simple and small sized Entity Component System for HTML5 games

  19. textyle

    Web tilemap editor for 2D games built using React JS, WebGL and Rust (WASM).

  20. entity-system-js

    ensy - A very simple Entity System for JavaScript

  21. webgl2-voxels

    WebGL2 experiment with boxels/voxels

  22. MERN-template

    A website template using the MERN stack. It is geared towards Persistent Browser Based Games (think neopets), but is flexible enough for a number of different uses.

  23. GDevelop-examples

    Repository of examples and templates for GDevelop - the open-source, no-code game engine

  24. wordled

    A Wordle based game made in Javascript

  25. game-engine

    ๐ŸŽฎ Lightweight HTML5 canvas 2D engine suitable for small games, prototypes, animations, creative coding, etc.

    Project mention: Release 0.4 // Final PR | dev.to | 2024-12-09

    Its over. I finally finished my 0.4 release PR, pushed it, and it was accepted. I successfully created connect four using the LiteCanvas engine.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Gamedev discussion

Log in or Post with

JavaScript Gamedev related posts

  • No-Code Game Development: Using AI to Build Your First Game

    2 projects | dev.to | 16 May 2025
  • Gamedev.js Jam 2025 start and theme announcement!

    4 projects | dev.to | 13 Apr 2025
  • What is GDevelop: An Open-Source Game Engine

    1 project | dev.to | 24 Jan 2025
  • Ask HN: Platform for 11 year old to create video games?

    38 projects | news.ycombinator.com | 20 Sep 2024
  • Open-source, cross-platform 2D/3D/multiplayer game engine

    1 project | news.ycombinator.com | 19 Sep 2024
  • Ask HN: Is webdev getting complicated without results to show for it?

    3 projects | news.ycombinator.com | 12 Sep 2024
  • Exploring Raylib and Open Source

    3 projects | dev.to | 6 Sep 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 18 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more โ†’

Index

What are some of the best open-source Gamedev projects in JavaScript? This list will help you:

# Project Stars
1 phaser 37,901
2 A-Frame 17,047
3 GDevelop 14,070
4 engine 10,154
5 shapez.io 6,616
6 melonJS 6,058
7 LittleJS 3,656
8 p2.js 2,668
9 bitECS 1,041
10 microstudio 1,031
11 lime 793
12 reldens 502
13 three-js-games 259
14 GDevelop-extensions 160
15 jsrl 125
16 javascript-entity-component-system 100
17 textyle 96
18 entity-system-js 90
19 webgl2-voxels 82
20 MERN-template 73
21 GDevelop-examples 72
22 wordled 55
23 game-engine 37

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?