A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green.
This scene shows you how to use the random noise library to simulate an organic-looking series of random values.
Install the CLI
Download and install the Decentraland CLI by running the following command:
npm i -g decentraland
Previewing the scene
-
Download this full repository from sdk7-goerli-plaza, including this and several other example scenes on SDK7.
-
Install the Decentraland Editor
-
Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene.
-
Open the Decentraland Editor tab, and press Run Scene
Alternatively, you can use the command line. Inside this scene root directory run:
npm run start
Scene Usage
Notice how the grass moves following a pattern that randomizes movement smoothly, never repeating itself but maintaining coherence.
Learn more about how to build your own scenes in our documentation site.
If something doesn’t work, please file an issue.
This scene is protected with a standard Apache 2 licence. See the terms and conditions in the LICENSE file.