Skip to content

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

Notifications You must be signed in to change notification settings

decentraland-scenes/key-binding

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published