TypeScript Game development

Open-source TypeScript projects categorized as Game development

Top 23 TypeScript Game development Projects

  • BabylonJS

    Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

    Project mention: Which tools should I use to create my game ? | /r/gamedev | 2023-05-06

    Sure; I've used [Phaser](https://phaser.io/) before for a game jam like project and I've heard of [PixiJS](https://pixijs.com/) and [Babylon.js](https://www.babylonjs.com/) as options too. I can't really give a good recommendation either way; Phaser was fun to just write TypeScript and see my game, but it felt like a toy compared to Unreal. I'm sure you could really push it to its limits though. You mentioned you know about LibGDX; I don't have experience with it, but it does seem like a viable option.

  • colyseus

    ⚔ Multiplayer Framework for Node.js

    Project mention: Struggling to get off the ground with a browser multiplayer game, looking for advice | /r/gamedev | 2023-03-04

    Since you already know Javascript you could try to use some existing server framework at first to avoid having to do everything from scratch. https://github.com/colyseus/colyseus

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

  • planck.js

    2D JavaScript Physics Engine

  • itch

    🎮 The best way to play your itch.io games

    Project mention: How to update? | /r/rpginabox | 2023-05-07
  • Excalibur

    🎮 An easy to use 2D HTML5 game engine written in TypeScript

    Project mention: My first week of focused prototyping: A link round-up | /r/gamedev | 2023-01-13

    Excalibur.js - A game engine for the web written in TypeScript. It’s my current choice for prototyping because the docs are clearly written and the TypeScript tells you the rest. https://excaliburjs.com/

  • wasm4

    Build retro games using WebAssembly for a fantasy console.

    Project mention: Build retro games using WebAssembly for a fantasy console | news.ycombinator.com | 2023-02-27
  • inkjs

    A javascript port of inkle's ink scripting language.

    Project mention: Automating inkle tests | /r/inkle | 2023-03-16

    You can use inkjs to create a nodeJS app for ink. Then you can integrate with JS or TypeScript CLI testing frameworks for node. Jest is a fairly popular one.

  • Klotho

    AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)

  • Kaetram-Open

    Kaetram is an open-source 2D HTML5 MMORPG. It is an extended version of BrowserQuest (BQ).

    Project mention: Kaetram - An open source 2D HTML5 MMORPG | /r/WebGames | 2023-01-15
  • composer-suite

    A suite of libraries for making game development with Three.js and React not only awesome, but so good, it would feel wrong to use anything else.

    Project mention: How I Monorepo | dev.to | 2022-10-09

    I am working full-time on a suite of libraries for building games with Three.js and React; this suite is called the Composer Suite, and its growing number of libraries and applications all live in a single monorepo. In this post, I will describe the tools I use to manage this repository, and to make both the development as well as the releasing of new packages and package versions as painless as possible.

  • crisp-game-lib

    Minimal JavaScript library for creating classic arcade-like mini-games running in the browser

  • ape-ecs

    Entity-Component-System library for JavaScript.

  • caviar

    ⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser

  • DuckEngine

    A 2D Game Engine for the web.

  • MarbleBlast

    A web port of Marble Blast Gold and Marble Blast Platinum.

  • hello-worlds

    Virtual javascript worlds at planetary scales for your threejs or react-three-fiber scene 👋🌐

    Project mention: Procgen Planteray System With Ocean (WIP) | /r/threejs | 2022-12-18

    I've even broken the code apart and published some re-usable npm libraries (@hello-worlds/planets) Here's the code on github (https://github.com/kenjinp/hello-worlds). The atmosphere scattering shader is an (unoptimized) mashup of a bunch of code from SimonDev's tutorial series and random bits I've found on shader-toy. The ocean shader is pretty much all from this video (https://www.youtube.com/watch?v=lctXaT9pxA0&t=1s) by Sebastian Lague.

  • attacke

    Attacke! is a simple two-player fighting game

    Project mention: Writing a Game in Typescript | dev.to | 2022-06-13

    Before we dig in further, I should clarify that most of my code snippets in this article are truncated to the relevant lines. The entire code can be found on GitHub.

  • space-commit

    The game where contributors become literal heroes! 🏆 Winner of the GitHub Actions Hackathon 2021

  • endigo-design

    The portfolio of Chris Simmons

    Project mention: Ask HN: Freelancer? Seeking freelancer? (September 2022) | news.ycombinator.com | 2022-09-01

    Willing to relocate: Not at this time.

    Technologies: Javascript/Typescript, Svelte/Kit, Angular, Tailwind, Node, Deno, and more.

    Portfolio/Resume: https://endigodesign.com/

  • inks2d

    A free no-dependency Typescript game engine designed for developing 2D games

    Project mention: inks2d - A free no-dependency Typescript Game Engine designed for developing 2D games | /r/opensource | 2023-05-08
  • flowing-terrain

    Algorithm for creating 3 dimensional terrain maps and their likely watercourses.

    Project mention: DEMS from random splats - follow up | /r/proceduralgeneration | 2023-05-18

    Nice. Looks really good. I love procedural terrain that isn't studded with local low points (lakes) too. If you are looking for an algorithm that's much quicker to compute (N*log(N) worst case) but admittedly but quite as realistic, this is what I came up with: https://github.com/mrdunk/flowing-terrain It's fairly easy to implement.

  • calligro

    Online bitmap font creator

  • Coher3nTS Project

    Cross-platform project template using Electron and Angular with the Phaser game engine. Project has Flexbox integrated for easy and responsive organization of components around the Phaser canvas.

  • react-roguelike

    A roguelike game built with React and TypeScript.

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

TypeScript Game development related posts


What are some of the best open-source Game development projects in TypeScript? This list will help you:

Project Stars
1 BabylonJS 20,794
2 colyseus 4,897
3 planck.js 4,548
4 itch 2,072
5 Excalibur 1,320
6 wasm4 878
7 inkjs 431
8 Kaetram-Open 388
9 composer-suite 357
10 crisp-game-lib 310
11 ape-ecs 254
12 caviar 114
13 DuckEngine 109
14 MarbleBlast 90
15 hello-worlds 70
16 attacke 43
17 space-commit 37
18 endigo-design 36
19 inks2d 35
20 flowing-terrain 33
21 calligro 28
22 Coher3nTS Project 18
23 react-roguelike 15
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.