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: about 1 month ago
JSON representation
A tin-can-alley scene built using cannon.js physics engine.
- Host: GitHub
- URL: https://github.com/decentraland-scenes/tin-can-alley
- Owner: decentraland-scenes
- Created: 2021-03-08T12:05:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-08T12:27:12.000Z (almost 4 years ago)
- Last Synced: 2024-08-05T15:04:36.496Z (5 months ago)
- Topics: decentraland
- Language: TypeScript
- Homepage: https://tin-can-alley.vercel.app
- Size: 4.76 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Repository - Tin Can Alley - can-alley.gif" width="200"> | A tin-can-alley scene built using cannon.js physics engine. | (Examples / Essentials)
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/