Skip to content

A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends.

Notifications You must be signed in to change notification settings

decentraland-scenes/beer-dispenser

Repository files navigation

Beer Dispenser

demo of beer-dispenser scene running in preview.

demo

Description

A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends. To view the scene, please visit here.

Instructions

Pick up and put down the beer glass using the E key - you will only be able to place the beer glass on a flat surface that's pointing upwards. To fill a glass, place it at one of the bases on the dispenser and then press on the corresponding tap using the the E key again; to drink the beer just press the F key. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. Finally, pressing the Space key will make your avatar jump.

If you launch a scene preview and open it in two (or more) browser windows, each window will be interpreted as a separate player and a mock communications server will keep these players in sync.

Note: If you open separate tabs in the same window, the interaction won’t work properly, as only one tab will be treated as active by the browser at a time.

Try it out

Install the CLI Download and install the Decentraland CLI by running the following command:

$ npm i -g decentraland

Previewing the scene Download this example and navigate to its directory, then run:

$  dcl start

Acknowledgements

About

A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published