Skip to content
A puffer fish inflates and deflates when cliked. This scene uses the Utils library.
JavaScript Other
Branch: master
Clone or download
Latest commit 75ea4a9 Sep 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Initial commit Sep 9, 2019
models Initial commit Sep 9, 2019
puffer Initial commit Sep 9, 2019
screenshot Initial commit Sep 9, 2019
sounds Initial commit Sep 9, 2019
src Initial commit Sep 9, 2019
.DS_Store Initial commit Sep 9, 2019
.dclignore Initial commit Sep 9, 2019
.gitattributes Initial commit Sep 9, 2019
.gitignore copyright stuff Sep 9, 2019
Dockerfile Initial commit Sep 9, 2019
LICENSE licence Sep 9, 2019
README.md copyright stuff Sep 9, 2019
package-lock.json Initial commit Sep 9, 2019
package.json Initial commit Sep 9, 2019
scene.json
tsconfig.json Initial commit Sep 9, 2019

README.md

Puffer fish

A simple interactive scene with a puffer fish that blows up when clicked.

  • Use the utils helper library to scale an entity and delay actions
  • Adding sound to an entity

Explore the scene: this link takes you to a copy of the scene deployed to a remote server where you can interact with it just as if you were running dcl start locally.

Install the CLI

Download and install the Decentraland CLI by running the following command

npm i -g decentraland

For a more details, follow the steps in the Installation guide.

Previewing the scene

Once you've installed the CLI, download this example and navigate to its directory from your terminal or command prompt.

from the scene directory:

$:  dcl start

Any dependencies are installed and then the CLI will open the scene in a new browser tab automatically.

Usage

Click on the fish and it will puff up and then deflate.

Learn more about how to build your own scenes in our documentation site.

Copyright info

This scene is protected with a standard Apache 2 licence. See the terms and conditions in the LICENSE file.

3D model from Sketchfab user Konta Johanna

Soudn file from FreeSound user Terhen

Both with creative commons licenses.

You can’t perform that action at this time.