Skip to content

Modern 2D game engine for the web written in TypeScript. Featuring multiplayer support, graphical editor, collaborative editing, and more.

License

Notifications You must be signed in to change notification settings

WorldQL/dreamlab-engine

Repository files navigation

Dreamlab – Cross-Platform Multiplayer 2D Game Engine

Use Dreamlab in your browser now, no downloads required

ezgif-386f81fca4019

Features

  • Built in multiplayer networking
  • Singleplayer export support
  • Tilemaps
  • Rapier physics engine
  • TypeScript scripting. Uses a Unity-style Behavior script system
  • Graphical editor
  • Real-time collaboration
  • One-click deployment / bundling
  • Built-in version control*
  • In-browser script editor*

Setup

We recommend using Dreamlab in your browser with no setup required. This version has all the features, including built-in version control and an in-browser script editor. AI features are currently unavailable locally but we will include documentation on importing your own OpenAI/Anthropic key very soon. However, you can run it locally with the following:

git clone https://github.com/WorldQL/dreamlab-engine
cd dreamlab-engine/multiplayer
# create project and start server
PROJECT_NAME=my-new-project

cp -r multiplayer/worlds/dreamlab/template-project "multiplayer/worlds/dreamlab/$PROJECT_NAME" \
&& cd multiplayer \
&& deno task start --spawn "dreamlab/$PROJECT_NAME"


# open new terminal window
# start editor
cd dreamlab-engine
cd editor/
deno task watch

Then open http://localhost:5173/?instance=00000000-0000-0000-0000-000000000000&server=ws%3A%2F%2Flocalhost%3A8001 and you'll see the editor!

Need Help?

If you need any help, feel free to:

Special Thanks

Finding bugs, suggesting features, testing etc:

  • 42ultra
  • Wolfer

About

Modern 2D game engine for the web written in TypeScript. Featuring multiplayer support, graphical editor, collaborative editing, and more.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •