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: How we made JavaScript analyzer understand control flow | dev.to | 2026-10-09

    Phaser gives us a good example of "defensive programming":

  2. SaaSHub

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

    SaaSHub logo
  3. GDevelop

    🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

  4. A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: Why is Meta destroying its engineering organization? | news.ycombinator.com | 2026-06-16

    Your comparison is like comparing The Eagles to some little local rock band!

    Rather than two competitive products I think these are both market dominant products that reveal the engineering culture, values and impact of the two organizations.

    I can say that when I first started with React I thought it sucked and looked at Vue and Svelte and similar things. My take on all of them was that they made the internal frameworks I was using to build very complex RIAs in the 2005-2010 time frame look like something that fell off a UFO.

    I first thought Vue reflected the way I thought about conventional "webby" applications particularly in terms of treating lists as a first-class object. I eventually learned with React how to draw absolutely anything, even whole 3-d worlds!

    https://aframe.io/

    I guess what I'll say about Svelte is "if you make such a radical change in your framework did you really believe in it?" Early on I stuck to controlled forms in React because uncontrolled forms seemed structurally unstable (add one too many features and it all breaks) and then I discovered

    https://react-hook-form.com/

    which is easy and very high performing.

  5. engine

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

  6. shapez.io

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

  7. pixelfx

    244 pixel art effects, every one a small piece of code. Plus a Claude Code skill to make your own.

    Project mention: 12 สกิล Claude ทำแทนทีมวิดีโอได้ฟรีจริงไหม? เปิดครบ 12 รีโปแล้วเจอค่าที่ซ่อนอยู่ | dev.to | 2026-11-09

    [1] โพสต์ X บัญชี Y0urDumble เรื่อง 12 Claude skills สำหรับงานวิดีโอ, 8 พฤศจิกายน 2026 https://x.com/Y0urDumble/status/2119456820758524021 [2] heygen-com/hyperframes สัญญา Apache-2.0 https://github.com/heygen-com/hyperframes [3] remotion-dev/skills https://github.com/remotion-dev/skills [4] Remotion, License and pricing, 2026 https://www.remotion.pro/license [5] mromidev/claude-animated-shorts สัญญา MIT https://github.com/mromidev/claude-animated-shorts [6] wuwangzhang1216/DirectorSKILL สัญญา MIT https://github.com/wuwangzhang1216/DirectorSKILL [7] zenstory-ai/drama-skills สัญญา MIT https://github.com/zenstory-ai/drama-skills [8] liangdabiao/Seedance2-Storyboard-Generator https://github.com/liangdabiao/Seedance2-Storyboard-Generator [9] patch-gg/pixelfx สัญญา MIT https://github.com/patch-gg/pixelfx [10] gokayfem/shader-skills สัญญา MIT https://github.com/gokayfem/shader-skills [11] dgreenheck/webgpu-claude-skill https://github.com/dgreenheck/webgpu-claude-skill [12] artokun/comfyui-mcp สัญญา MIT https://github.com/artokun/comfyui-mcp [13] elevenlabs/skills สัญญา MIT https://github.com/elevenlabs/skills [14] bitwize-music-studio/claude-ai-music-skills สัญญา CC0 https://github.com/bitwize-music-studio/claude-ai-music-skills [15] Wikipedia, Transformer (deep learning architecture) เปิดเมื่อ 9 พฤศจิกายน 2026 https://en.wikipedia.org/wiki/Transformer_(deep_learning_architecture) [16] Agent Skills specification https://agentskills.io/specification [17] ElevenLabs pricing https://elevenlabs.io/pricing [18] Suno pricing https://suno.com/pricing

  8. melonJS

    A modern & fully featured HTML5 game engine (2D & 3D) for JavaScript/TypeScript, with WebGL/WebGPU rendering, built-in physics, Tiled map & glTF support and WebAudio.

    Project mention: MelonJS: Modern and featured HTML5 game engine | news.ycombinator.com | 2026-09-13
  9. awesome-gbdev

    A curated list of Game Boy development resources such as tools, docs, emulators, related projects and open-source ROMs.

  10. LittleJS

    Tiny fast 2D/3D HTML5 game engine with many features and no dependencies.

    Project mention: LittleJS – JavaScript Game Engine for 2D and 3D Games | news.ycombinator.com | 2026-10-15
  11. p2.js

    JavaScript 2D physics library

  12. microstudio

    Free, open source game engine online

  13. reldens

    Reldens - You can make it - Open Source MMORPG Platform

  14. cgl

    CGL (C Game Library) is a multipurpose library mainly for recreational coding / demo scenes / prototyping / small games / experimentation.

  15. GDevelop-extensions

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

  16. three-js-games

    👾 The code for my Three.js game dev experiments on YouTube.

  17. GDevelop-examples

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

  18. jsrl

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

  19. javascript-entity-component-system

    A simple and small sized Entity Component System for HTML5 games

  20. textyle

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

  21. Pixelbolt

    Agent-first pixel art and animation toolkit. JSON recipes to PNG, APNG and sprite atlases via CLI, MCP server and local studio. Zero dependencies. MIT.

    Project mention: How to make a pixel art waterfall animation (free, in your browser or from the command line) | dev.to | 2026-11-03

    The fluid physics model: https://github.com/skulitom/Pixelbolt/blob/main/docs/physics-model.md

  22. entity-system-js

    ensy - A very simple Entity System for JavaScript

  23. webgl2-voxels

    WebGL2 experiment with boxels/voxels

  24. game-engine

    Lightweight (~4kb) HTML5 canvas engine suitable for small games, animations and creative programming for people who enjoy coding. No dependencies.

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

  • How to make a pixel art waterfall animation (free, in your browser or from the command line)

    1 project | dev.to | 3 Nov 2026
  • How to make a pixel art fire animation for Godot 4 (free, in your browser)

    1 project | dev.to | 27 Oct 2026
  • Isometric.nyc – giant isometric pixel art map of NYC

    2 projects | news.ycombinator.com | 23 Jan 2026
  • Show HN: I generate animated pixel art with AI and Python

    2 projects | news.ycombinator.com | 7 Jan 2026
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Nov 2026
    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 40,711
2 GDevelop 28,790
3 A-Frame 17,708
4 engine 17,278
5 shapez.io 7,003
6 pixelfx 6,893
7 melonJS 6,506
8 awesome-gbdev 4,550
9 LittleJS 4,386
10 p2.js 2,692
11 microstudio 1,199
12 reldens 590
13 cgl 465
14 GDevelop-extensions 314
15 three-js-games 278
16 GDevelop-examples 182
17 jsrl 140
18 javascript-entity-component-system 108
19 textyle 98
20 Pixelbolt 96
21 entity-system-js 87
22 webgl2-voxels 84
23 game-engine 80

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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