Skip to content

Change String sounds in FlxSlider to FlxSound's. #438

Open
@TheGaloXx

Description

@TheGaloXx

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.

FlxG.sound.play(hoverSound); => hoverSound.play();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions