demo of power-cube scene running in preview.
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.
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.
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
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/