demo of shooting-range-advanced scene running in preview.
Gun game mechanic along with bullet marks that appear at whatever angle the bullet strikes the target. To view the scene, please visit here.
Make sure you stand inside the shooting area marked in red before firing at the targets. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. Press the Space key to jump and the Left Mouse Button to shoot.
If the targets is set to spin too quickly then the bullet marks might appear hidden beneath the target's geometry as the bullet mark isn't generated fast enough.
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
The following files were taken from https://freesound.org/:
- shotFail.mp3 modified from https://freesound.org/people/jackyyang09/sounds/467432/
- shotRicochet.mp3 modified from https://freesound.org/people/ForTheHorde68/sounds/407361/
- shotSilencer.mp3 modified from https://freesound.org/people/morganpurkis/sounds/380185/