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 to Start Making Games in JavaScript with No Experience | news.ycombinator.com | 2025-08-18

    https://phaser.io/tutorials/making-your-first-phaser-3-game/...

  2. Civic Auth

    Web2 & Web3 login in a simple SDK. Drop Civic Auth into your app with native TS/JS support. Email login, SSO options, embedded wallets, and full session management. Minimal config. Deploy in under 5 minutes.

    Civic Auth logo
  3. A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: Let Me Pay for Firefox | news.ycombinator.com | 2025-07-13
  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: Show HN: Spark, An advanced 3D Gaussian Splatting renderer for Three.js | news.ycombinator.com | 2025-06-11

    BabylonJS and the OP's own Aframe [1] seem to have similar licenses, similar number of Github stars and forks, although Aframe seems newer and more game / VR focused.

    How do Babylon, Aframe, Three.js, and PlayCanvas [2] compare from those that have used them?

    IIUC, PlayCanvas is the most mature, featureful, and performant, but it's commercial. Babylon is the featureful 3D engine, whereas Three.js is fairly raw. Though it has some nice stuff for animation, textures, etc., you're really building your own kit.

    Any good experiences (or bad) with any of these?

    [1] https://github.com/aframevr/aframe

    [2] https://playcanvas.com/

  6. shapez.io

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

  7. melonJS

    a fresh, modern & 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. 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 dynamic JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  10. p2.js

    JavaScript 2D physics library

  11. microstudio

    Free, open source game engine online

  12. lime

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

  13. 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
  14. three-js-games

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

  15. GDevelop-extensions

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

  16. jsrl

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

  17. javascript-entity-component-system

    A simple and small sized Entity Component System for HTML5 games

  18. textyle

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

  19. entity-system-js

    ensy - A very simple Entity System for JavaScript

  20. GDevelop-examples

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

  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. wordled

    A Wordle based game made in Javascript

  24. game-engine

    Lightweight (~4kb) HTML5 canvas 2D engine suitable for small games, prototypes, 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.

  25. cloudwithchris.com

    Cloud With Chris is my personal blogging, podcasting and vlogging platform where I talk about all things cloud. I also invite guests to talk about their experiences with the cloud and hear about lessons learned along their journey.

  26. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla 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 - SurveyJS
    surveyjs.io | 31 Aug 2025
    Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build dynamic JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more →

Index

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

# Project Stars
1 phaser 38,308
2 A-Frame 17,305
3 GDevelop 16,086
4 engine 10,795
5 shapez.io 6,705
6 melonJS 6,126
7 LittleJS 3,719
8 p2.js 2,680
9 microstudio 1,069
10 lime 797
11 reldens 523
12 three-js-games 262
13 GDevelop-extensions 182
14 jsrl 130
15 javascript-entity-component-system 100
16 textyle 96
17 entity-system-js 89
18 GDevelop-examples 86
19 webgl2-voxels 82
20 MERN-template 76
21 wordled 53
22 game-engine 42
23 cloudwithchris.com 23

Sponsored
Web2 & Web3 login in a simple SDK
Drop Civic Auth into your app with native TS/JS support. Email login, SSO options, embedded wallets, and full session management. Minimal config. Deploy in under 5 minutes.
www.civic.com

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