Skip to content

The collaborative multiplayer game engine for the web.

License

Notifications You must be signed in to change notification settings

WorldQL/dreamlab-engine

Repository files navigation

Dreamlab – Cross-Platform Multiplayer 2D Game Engine

ezgif-386f81fca4019

Try it in your browser now

Features

  • Singleplayer and multiplayer games
  • Rapier physics engine
  • TypeScript scripting
  • In-browser code editor
  • Graphical editor and Behavior system
  • Real-time collaboration
  • One-click deployment / bundling
  • Built-in version control

Setup

We recommend using Dreamlab in your browser with no setup required. AI features are currently unavailable locally but we will include documentation on importing your own OpenAI key very soon. However, you can run it locally with the following:

git clone https://github.com/WorldQL/dreamlab-engine
cd dreamlab-engine/multiplayer
# start server
deno task start --spawn dreamlab/tutorial
# maps to "multiplayer/worlds/dreamlab/tutorial". You can edit these scripts with your favorite text exitor to modify them.

# 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 tutorial world!

Need Help?

If you need any help, feel free to:

Special Thanks

Finding bugs, suggesting features, testing etc:

  • 42ultra
  • Wolfer