A downloadable asset pack

Get this asset pack and 1 more for 49.80€ EUR
View bundle
Buy Now9.90€ EUR or more

WHAT IS THE 3D SOUND NODE?
The purpose of this node is to increase realism of sound effects and musics in Buildbox Projects (requires Buildbox 3).
This node can be used to regulate the volume of a sound component dynamically based on distance.

HOW IS THIS USEFUL?
Let's say you have created a 3D shooter game and when you shoot and hit an enemy there is an explosion and a sound effect playing along with it; you probably don't want that sound effect to have the same volume when the explosion happens right in front of the character and when it happens far away.

Or maybe there is a river in the distance and you want the sound of the water to become louder when you approach it.
This node can solve these problems.

HOW TO USE IT?
1) Drag the 3DSound.bbnode file inside a Buildbox object and place the node in between the sound node and the one activating it, like the Start node for example: Start ==> 3D Sound ==> Sound
IMPORTANT: Make sure the 'Overlapping' attribute of the sound is unchecked or the node won't work.


2) Set the node attributes as you wish:
- Max Distance: the volume of the connected sound will be set to 0 at or above this distance.
- Min Distance: the volume of the connected sound will be set to maximum at or below this distance.
- Easing function: the easing function to be used to regulate the volume dynamically, the default value is inQuart
so that the volume will rapidly increase when it is very near to the player and viceversa.
To make it clear here's a comparison between inQuart and linear functions:

INQUARTLINEAR
DistanceVolume %DistanceVolume %
10001000
7507525
5065050
25312575
01000100

You can choose among 30+ different easing functions if you prefer a different behavior. For more info check https://easings.net/

- Sound Name (optional): you can optionally set the sound name here; you can leave it blank if the sound connected to the node has the default name 'Sound'; this attribute must be set if you have different sounds in the same node; is such a case each sound
must have a unique name or the node won't work correctly.

- Target (optional): this node will automatically search for a character in the game scene and set it as its target; you can optionally set a specific target instead.
If a target is not specified the node will look for characters, if at least one is found the first one is set as the target, if more than one are found a warning will be issued, if none is found the path anchor position will be set as target and a warning will be issued since this is not ideal.
If you set a specific target then the node will search for instances of it in game and if at least one is found the first one is set as the target, if more than one are found a warning will be issued, if none is found the path anchor position will be set as target and a warning issued since this is not ideal.

- Max Volume: this slider will set the maximum volume the sound connected to this node will ever reach.

That's it!

SYSTEM REQUIREMENTS
You just need Buildbox 3 to use the 3DSound Node.
The asset will work no matter the plan you are in (Free, Plus, Pro, etc.).

CHANGELOG
- 1.0.0 (December 5, 2020)
First public release.
- 1.1.0 (December 23, 2020)
Added optional Target attribute.
Fixed a bug causing the sound to not be played back in certain circumstances.
- 1.2.0 (January 9, 2021)
Added Max Volume attribute.
Fixed a minor harmless bug causing a false warning to be triggered.

COPYRIGHT NOTICE
Please note that this asset package and all of its content, including source code, is protected by copyright, it is not open source.
In short you can use it in any of your Buildbox projects but please don't share it, it took a lot of effort to design, create and optimize it.
In detail here's a more exhaustive copyright notice for this asset package, please read it carefully, thank you! 
Once purchased you are free to use the asset package within your personal and commercial Buildbox projects.
And of course you are free to publish, sell or otherwise distribute any app or software you export from Buildbox that makes use of any of the assets in this asset package.
You are not allowed to allow users of such apps or softwares you created to access, extract and/or use any of the assets included in this package outside of the software. You are not allowed to copy, sell, give away or otherwise distribute any of the assets contained in this asset package, either in their original form or in any modified form.
You are not allowed to remove this copyright notice.

--------------------------------------------------------------------------------------------------
Looking for a developer to help you with your Buildbox projects, scripts, custom nodes or templates? Hire me! Visit WWW.INDYMSW.COM 
--------------------------------------------------------------------------------------------------

Updated 14 days ago
StatusReleased
CategoryAssets
AuthorIndyM Software

Purchase

Get this asset pack and 1 more for 49.80€ EUR
View bundle
Buy Now9.90€ EUR or more

In order to download this asset pack you must purchase it at or above the minimum price of 9.90€ EUR. You will get access to the following files:

3D Sound Node 1.2.0.zip 43 kB

Leave a comment

Log in with itch.io to leave a comment.