decentraland-scenes / power-cube

Using simple planes to create a force field effect that blocks the player from reaching the access card.

Home Page:https://power-cube.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power Cube

demo of power-cube scene running in preview.

demo

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.

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/:

About

Using simple planes to create a force field effect that blocks the player from reaching the access card.

https://power-cube.vercel.app


Languages

Language:TypeScript 94.7%Language:Dockerfile 5.3%