Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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/