Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland-scenes/coconut-shy
A coconut shy built using cannon.js physics engine.
https://github.com/decentraland-scenes/coconut-shy
decentraland
Last synced: about 1 month ago
JSON representation
A coconut shy built using cannon.js physics engine.
- Host: GitHub
- URL: https://github.com/decentraland-scenes/coconut-shy
- Owner: decentraland-scenes
- Created: 2021-03-05T21:32:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T10:36:08.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T17:52:40.513Z (8 months ago)
- Topics: decentraland
- Language: TypeScript
- Homepage: https://coconut-shy.vercel.app
- Size: 6.78 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Repository - Coconut Shy - shy.gif" width="200"> | A coconut shy built using cannon.js physics engine. | (Examples / Essentials)
README
# Coconut Shy
_demo of coconut-shy scene running in preview._![demo](https://github.com/decentraland-scenes/coconut-shy/blob/main/screenshots/coconut-shy.gif)
## Description
A coconut shy 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://coconut-shy.vercel.app/). Note: You can press the P key to adjust the graphics settings.## Instructions
Grab a ball using the E key, then use your mouse to aim in the direction you want to throw the ball. Press and hold the Left Mouse Button to trigger the 'power' meter to the bottom right of the screen, which controls how hard you throw the ball. To release the ball, let go of the Left Mouse Button as soon as the meter reaches your desired 'power' level. 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
- All sound effects are from [Mordi](http://www.mordi.net/)