Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland-scenes/beer-dispenser
A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends.
https://github.com/decentraland-scenes/beer-dispenser
decentraland
Last synced: about 1 month ago
JSON representation
A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends.
- Host: GitHub
- URL: https://github.com/decentraland-scenes/beer-dispenser
- Owner: decentraland-scenes
- Created: 2021-04-26T21:42:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-08T21:06:33.000Z (over 2 years ago)
- Last Synced: 2024-08-05T15:04:34.767Z (5 months ago)
- Topics: decentraland
- Language: TypeScript
- Homepage:
- Size: 8.01 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Repository - Beer Dispenser - dispenser.gif" width="200"> | A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends. | (Examples / Essentials)
README
# Beer Dispenser
_demo of beer-dispenser scene running in preview._![demo](https://github.com/decentraland-scenes/beer-dispenser/blob/main/screenshots/beer-dispenser.gif)
## 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](https://beer-dispenser.vercel.app/).## 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
- _beerPump.mp3_ modified from https://freesound.org/people/RG_Campus/sounds/392893/
- _error.mp3_ modified from https://freesound.org/people/distillerystudio/sounds/327736/
- _pickUp.mp3_ modified from https://freesound.org/people/drummerman/sounds/368130/
- _putDown.mp3_ modified from https://freesound.org/people/Nightflame/sounds/368614/
- _swallow.mp3_ modified from https://freesound.org/people/freakinbehemoth/sounds/243635/