/dusk

Build multiplayer web games played by millions! ๐Ÿ‘พ You focus on your game, Dusk handles everything else, incl. backend and networking ๐Ÿš€ Make your game using JavaScript / TypeScript and any frontend web framework such as React, Svelte, Vue, Threejs, PixiJS, Phaser. You can even use plain HTML and CSS. Perfect for web devs interested in gamedev.

Primary LanguageTypeScriptMIT LicenseMIT

An intro image showing Dusk logo with the text 'multiplayer web games'.

Docs ยท Discord ยท FAQ ยท Blog ยท Examples

Dusk

Build a multiplayer game played by millions! Your game runs inside the Dusk app with 10 million installs across iOS and Android. You focus on your game, Dusk handles everything else, incl. servers and networking.

You can make your game using JavaScript / TypeScript and your favorite web framework such as React, Svelte, Vue, Threejs, PixiJS, Phaser. The Dusk app has friends, messaging, spectating and voice chat built-in to turn your game into an incredible multiplayer experience.

Features

  • Social: Dusk has messaging and voice chat so players can hang out together and talk about your game.
  • Fast & Reliable: Our predict-rollback netcode updates clients immediately and the server resolves conflicts.
  • Free: We pay for servers, voice chat, and everything else. It's 100% free to launch your game on Dusk.

Documentation

Examples

Tic Tac Toe Outmatched Sudoku Pinpoint
Demo, Source Demo, Source Demo, Source Demo, Source
OinkOink Paddle Cube Rush Neon Snake
Demo, Source Demo, Source Demo, Source Demo, Source

Packages

  • eslint-plugin-dusk โ€“ rules and config for writing safe logic code for the Dusk SDK
  • dusk-cli โ€“ command line tool to develop and upload your HTML5 game for Dusk
  • vite-plugin-dusk โ€“ Vite plugin for writing games for the Dusk SDK

Community

Have a question or want to discuss with others how to make an amazing multiplayer game? Join our Discord server!

Discord Follow

Contributing

We'd really appreciate your help in making Dusk as useful as possible for everyone wanting to make a multiplayer game. Don't hesitate to open an issue or PR. If you find Dusk interesting, then please star and share the repo.

An animation encouraging readers to star the GitHub repo if they're interested.