No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of hardlydifficult:master.
Latest commit bb73973 Aug 30, 2018
Failed to load latest commit information.
.decentraland wip Aug 16, 2018
.vs Removing exit click (debugging) Aug 26, 2018
assets Removing unused assets Aug 23, 2018
components update to 4.1 Aug 30, 2018
ts update to 4.1 Aug 30, 2018
.dclignore wip Aug 16, 2018
.gitignore wip Aug 16, 2018
DogCatMouseCheese.sln Improved art Aug 20, 2018
LICENSE wip Aug 16, 2018 link to now in readme Aug 30, 2018
build.json wip Aug 16, 2018
config.json Improved art Aug 20, 2018
package-lock.json update to 4.1 Aug 30, 2018
package.json update to 4.1 Aug 30, 2018
scene.js update to 4.1 Aug 30, 2018
scene.json wip Aug 16, 2018
scene.tsx update to 4.1 Aug 30, 2018
tsconfig.json wip Aug 16, 2018

Decentraland Dog Cat Mouse Cheese

This example, that's described in greater detail in a video tutorial shows how to build a more complex scene that involves predators and prays, which can interchangably be mice, cats or dogs. Each animal has a stack-based finite state machine (FSM) to manage its AI. Each animal uses the a* path finding algorythm to find its way around obstacles and othe animals.

Explore the scene: this link takes you to a copy of the scene deployed to a remote server where you can interact with it. You can also achieve the same by following the steps below and running it locally.

Getting started

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 preview

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