Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/decentraland-scenes/tin-can-alley

A tin-can-alley scene built using cannon.js physics engine.
https://github.com/decentraland-scenes/tin-can-alley

decentraland

Last synced: 3 months ago
JSON representation

A tin-can-alley scene built using cannon.js physics engine.

Lists

README

        

# Tin Can Alley
_demo of tin-can-alley scene running in preview._

![demo](https://github.com/decentraland-scenes/tin-can-alley/blob/main/screenshots/tin-can-alley.gif)

## Description
A tin-can-alley scene built using [cannon.js](https://github.com/schteppe/cannon.js) physics engine. This scene demonstrates interactions between multiple dynamic objects. To view the scene, please visit [here](https://tin-can-alley.vercel.app/). Note: You can press the P key to adjust the graphics settings.

## Instructions
Use your mouse to aim in the rifle and press the Left Mouse Button to shoot at the cans. In terms of basic movement: 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
```

## Acknowledgements
The following files were taken from https://freesound.org/:
- _can01.mp3_ to _can03.mp3_ are modified from https://freesound.org/people/cower/sounds/185370/
- _shotSilencer.mp3_ modified from https://freesound.org/people/morganpurkis/sounds/380185/
- _shotTin.mp3_ modified from https://freesound.org/people/jorickhoofd/sounds/160045/
- _shotWood.mp3_ modified from https://freesound.org/people/altfuture/sounds/174633/