This contains the source code documentation of the class DialogicNode_TypeSounds
.
DialogicNode_TypeSounds
Inherits: AudioStreamPlayer
Node that allows playing sounds when text characters are revealed. Should be the child of a DialogicNode_DialogText node!
Properties
Methods
Returns | Method |
---|---|
void | load_overwrite ( dictionary : Dictionary ) |
AudioStream[] | load_sounds_from_path ( path : String ) |
Constants
No description available.
No description available.
No description available.
Property Descriptions
No description available.
No description available.
No description available.
var characters_since_last_sound = 0
No description available.
No description available.
Usefull if you want to change the sounds of different node's sounds
A sound to be played as the last sound.
Characters that don't increase the 'characters_since_last_sound' variable, useful for the space or fullstop
If true, interrupts the current sound to play a new one
Allows changing the pitch by a random value from (pitch - pitch_variance) to (pitch + pitch_variance)
Determines how many characters are between each sound. Default is 1 for playing it every character.
Array of sounds. Will pick a random one each time.
Allows changing the volume by a random value from (volume - volume_variance) to (volume + volume_variance)
Method Descriptions
func load_overwrite ( dictionary
: Dictionary ) ⇒ void
No description available.
func load_sounds_from_path ( path
: String ) ⇒ AudioStream[]
No description available.