A scene with a simple AI character that chooses its own actions and follows orders.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
bin
models
screenshot
src
.DS_Store
.dclignore
.gitattributes
.gitignore
Dockerfile
LICENSE
README.md
package-lock.json
package.json
scene.json
tsconfig.json

README.md

Block Dog

A scene with a simple AI character. It randomly chooses what action to take: follow you, sit or remain idle. You can also tell it to sit or stand up by clicking it, or tell it to drink water by clicking its bowl.

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

  • The dog has autonomous behavior and randomly sits and stands up on its own.
  • If you click the dog, it switches from standing up to sitting down.
  • If you click the water bowl, it walks towards it and drinks.
  • If you step inside the bounds of the scene, the dog follows you and sits in front of you.

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.