decentraland-scenes / key-binding

Using emote events as key bindings for switching between multiple paint colors, which can be expanded for something like weapon switching.

Home Page:https://key-binding.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key Binding

demo of key binding scene running in preview.

demo

Description

Using emote events as key bindings for switching between multiple paint colors, which can be expanded for something like weapon switching. To view the scene, please visit here.

Instructions

  • Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively
  • To jump, press the Space key
  • To place paint onto the ground, use the Left Mouse Button
  • Use the number keys 1 to 7 to switch between the various paint colors
  • Use the E key to switch to the next paint color
  • Use the F key to switch to the previous paint color

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/

About

Using emote events as key bindings for switching between multiple paint colors, which can be expanded for something like weapon switching.

https://key-binding.vercel.app


Languages

Language:TypeScript 94.4%Language:Dockerfile 5.6%