A fully-fledged game where a random 2d path is generated along which enemies walk, and where traps are randomly placed. You need to activate the traps as the enemies advance along the path to kill them. It’s all about timing.
Clone or download
Latest commit b3d8dd5 Jan 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Initial commit Jan 6, 2019
bin implement best practices Jan 8, 2019
materials Initial commit Jan 6, 2019
models Initial commit Jan 6, 2019
screenshot Initial commit Jan 6, 2019
src version to latest Jan 21, 2019
.DS_Store Initial commit Jan 6, 2019
.dclignore Initial commit Jan 6, 2019
.gitattributes Initial commit Jan 6, 2019
.gitignore Initial commit Jan 6, 2019
Dockerfile Initial commit Jan 6, 2019
LICENSE Initial commit Jan 6, 2019
README.md version to latest Jan 21, 2019
package-lock.json Initial commit Jan 6, 2019
package.json Initial commit Jan 6, 2019
scene.json Initial commit Jan 6, 2019
tsconfig.json Initial commit Jan 6, 2019

README.md

Tower defense game (WIP)

A fully-fledged game where a random 2d path is generated along which enemies walk, and where traps are randomly placed. You need to activate the traps as the enemies advance along the path to kill them. It’s all about timing.

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 the button on the rock to start a new game. Blob monsters will start to appear and walk along the path. Kill them by triggering both levers on a trap. Traps are active for a short period of time, so be careful with the timing. Once a trap is activated, another appears on a random spot along the path.

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.