JavaScript Gamedev

Open-source JavaScript projects categorized as Gamedev

Top 23 JavaScript Gamedev Projects

  • 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: Looking for unfiltered feedback on my browser-based platform fighter trailer | reddit.com/r/DestroyMyGame | 2023-03-15

    Hmm I don't know about tutorials, but I would recommend staying away from the DOM for any game that's real time (so, no React). Instead use a WebGL rendering library like pixi.js. You could also try out a framework/engine like Phaser, which uses pixi under the hood but provides more structure for your project if you're into that.

  • A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: Is it worth learning Three.js in 2023 ? | reddit.com/r/learnjavascript | 2023-03-03

    Right now I believe it's still very niche, but with time it will continue to grow and grow. There are a lot of emerging technologies built on three.js that are barely just starting to get off the ground. It's really the core of most Web XR technologies and will still be here when you are ready if you feel node.js is a safer bet right now. If you don't feel confident math wise for it just yet, you can also look into the frameworks built on top of it like A-Frame https://aframe.io to create 3D XR sites and build your knowledge of three.js more slowly over time with a lower bar of entry.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • engine

    Fast and lightweight JavaScript game engine built on WebGL and glTF

    Project mention: Best toolset for building a 3D Website? | reddit.com/r/webdev | 2023-03-09
  • shapez.io

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

    Project mention: Does anyone know how to build Shapezio from source? | reddit.com/r/shapezio | 2023-02-08

    apparently the instructions from github are outdated or something

  • melonJS

    a fresh, modern & lightweight HTML5 game engine

    Project mention: Final FLiP Stack Weekly of 2022 | dev.to | 2022-12-23
  • GDevelop

    :video_game: Open-source, cross-platform game engine designed to be used by everyone.

    Project mention: Similar tools that aren’t subscription-based? | reddit.com/r/construct | 2023-03-21

    GDevelop - https://gdevelop.io

  • p2.js

    JavaScript 2D physics library

    Project mention: 8 Ball Pool - An online multiplayer billiards game against players or bots | reddit.com/r/WebGames | 2023-02-14

    Not sure if I'd do it again, but I used p2.js. I wanted to use a reliable physics engine that was determenistic to ensure I could synchronise it for multiplayer purposes (otherwise, two different clients see two different things). I had to adjust the settings quite a bit to make it work, and it has its limitations, but it came out pretty decent in the end I would say!

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • LittleJS

    The Tiny JavaScript Game Engine That Can! 🚂

    Project mention: Most popular library to build games in javascript? | reddit.com/r/gamedev | 2022-12-28

    LittleJS

  • ct-js

    Ct.js is a desktop game engine that makes learning programming fun and game development easy by its visual editors and well-documented code library

    Project mention: What can I use to make games for my students who use Chromebooks? | reddit.com/r/gamedev | 2023-02-07
  • bitECS

    Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript

    Project mention: What is the best ECS API you've seen? | reddit.com/r/gamedev | 2023-01-31

    Phaser 4 is going with bitECS.

  • pandocs

    The single, most comprehensive Game Boy technical reference.

    Project mention: Me again... Blarg's Gameboy test ROM | reddit.com/r/EmuDev | 2023-02-18

    The Pandocs are easy to read and contain pretty much everything you need to know to get a basic GB emulator up-and-running. The section on the Power-Up Sequence would answer this question for you and then some. You would've gotten the answer to your question yesterday if you looked at the Memory Map section, which tells you where ROM is mapped, and then some.

  • reldens

    Reldens - You can make it - Open Source MMORPG Platform

    Project mention: [Paid] - Game artist / designer for a 2D MRPG | reddit.com/r/INAT | 2023-02-08

    To have a better idea of what we have now you can check the platform demo: - https://demo.reldens.com/

  • gamedex

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

    Project mention: I Coded Snake but with Portals | reddit.com/r/webdev | 2022-08-05

    Playable Game

  • entity-system-js

    ensy - A very simple Entity System for JavaScript

  • textyle

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

  • GDevelop-extensions

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

    Project mention: gamepad ext recognize more than 4 direction | reddit.com/r/gdevelop | 2022-10-14
  • 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.

    Project mention: So I wrote an auth server - are people using it??? | reddit.com/r/AskProgramming | 2022-12-31

    Backstory: Decade Jam, a game jam that lasts for a decade, began Jan 1st, 2020. I started writing a web game called Egg Trainer, but after a year of work realized that my codebase wasn't workable anymore. So at the beginning of 2021, I began working on a game engine that would power the beta version of ET - this is called the MERN-template (clearly, I'm bad at naming things).

  • wordled

    A Wordle based game made in Javascript

  • javascript-game-development-css-amimation

    Small example showing how you can make game sprite animations using CSS with Javascript movement.

    Project mention: I made a game development animation example using CSS + Javascript | reddit.com/r/gamedevscreens | 2022-09-19

    GitHub: https://github.com/colorsofcode/javascript-game-development-css-amimation

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

  • Draw-and-guess-game

    ✏️ Online multiplayer game

  • visualjs

    Now `visual-js` can be used from npm i visual-js

    Project mention: Matrix-engine [1.8.4] | dev.to | 2022-10-28

    Research Vjs3 source examples at: https://github.com/zlatnaspirala/visualjs

  • Stranger-Things-Jump-The-Game

    A game based in the hidden Google Chrome Dinosaur Game and the TV show Stranger Things. 🥞 📺 🎧 🦖 - 1st Project!

    Project mention: A game based in the hidden Google Chrome Dinosaur Game and the TV show Stranger Things. | reddit.com/r/programming | 2022-07-30
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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). The latest post mention was on 2023-03-21.

JavaScript Gamedev related posts

Index

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

Project Stars
1 Phaser 33,767
2 A-Frame 15,141
3 engine 8,195
4 shapez.io 5,489
5 melonJS 5,255
6 GDevelop 4,704
7 p2.js 2,505
8 LittleJS 2,469
9 ct-js 1,273
10 bitECS 630
11 pandocs 422
12 reldens 320
13 gamedex 194
14 entity-system-js 91
15 textyle 88
16 GDevelop-extensions 78
17 MERN-template 55
18 wordled 46
19 javascript-game-development-css-amimation 30
20 cloudwithchris.com 24
21 Draw-and-guess-game 6
22 visualjs 4
23 Stranger-Things-Jump-The-Game 4
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
www.influxdata.com