You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlxSlider has two variables for sfx, clickSound and hoverSound.
But these are Strings used to give the path of the sound file, not FlxSounds, so the user doesn't have the opportunity to change stuff like the volume, pitch, time, etc.
I think changing these variables to FlxSound would be better to achieve more customization.
FlxSlider
has two variables for sfx,clickSound
andhoverSound
.But these are
Strings
used to give the path of the sound file, not FlxSounds, so the user doesn't have the opportunity to change stuff like the volume, pitch, time, etc.I think changing these variables to FlxSound would be better to achieve more customization.
FlxG.sound.play(hoverSound);
=>hoverSound.play();
The text was updated successfully, but these errors were encountered: