decentraland-scenes / inflatable-punch-bag

An inflatable-punch-bag scene built using cannon.js physics engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inflatable punch bag

demo of inflatable-punch-bag scene running in preview.

demo

Description

An inflatable-punch-bag scene built using cannon.js physics engine. To view the scene, please visit here.

Instructions

You can hit the bag from any direction and the bag will swing back and forth until it settles back into its original position. To punch the bag just walk up to it and press the Left Mouse Button, E or R key. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. Finally, pressing the Space key will make your avatar jump.

Try it out

Install the CLI Download and install the Decentraland CLI by running the following command:

$ npm i -g decentraland

Previewing the scene Download this example and navigate to its directory, then run:

$  dcl start

About

An inflatable-punch-bag scene built using cannon.js physics engine.


Languages

Language:TypeScript 90.3%Language:Dockerfile 9.7%