Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland-scenes/power-cube
Using simple planes to create a force field effect that blocks the player from reaching the access card.
https://github.com/decentraland-scenes/power-cube
decentraland
Last synced: about 1 month ago
JSON representation
Using simple planes to create a force field effect that blocks the player from reaching the access card.
- Host: GitHub
- URL: https://github.com/decentraland-scenes/power-cube
- Owner: decentraland-scenes
- Created: 2020-08-28T20:34:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T20:24:18.000Z (over 2 years ago)
- Last Synced: 2024-08-05T15:04:36.131Z (5 months ago)
- Topics: decentraland
- Language: TypeScript
- Homepage: https://power-cube.vercel.app
- Size: 17.9 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Repository - Power Cube - cube.gif" width="200"> | Using simple planes to create a force field effect that blocks the player from reaching the access card. | (Examples / Essentials)
README
# Power Cube
_demo of power-cube scene running in preview._![demo](https://github.com/decentraland-scenes/power-cube/blob/master/screenshots/power-cube.gif)
## Description
Using simple planes to create a force field effect that blocks the player from reaching the access card. This scene also demonstrate the new `Attachable` feature, which is used for picking up the power cube. To view the scene, please visit [here](https://power-cube.vercel.app/).## Instructions
Get close to the power cube before picking it up. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. The E key is used to pick up and put down the cube. Remove the power cube from its base to turn off the forcefield.## 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
The following files were taken from https://freesound.org/:
- _cubePickup.mp3_ modified from https://freesound.org/people/dster777/sounds/344549/
- _cubePutDown.mp3_ modified from https://freesound.org/people/dster777/sounds/344549/
- _powerUp.mp3_ modified from https://freesound.org/people/DrMrSir/sounds/529558/
- _powerDown.mp3_ modified from https://freesound.org/people/DrMrSir/sounds/529558/