Skip to content

FlxG.play() not destroying FlxSound object even when AutoDestroy flag is set. #240

@brantkings

Description

@brantkings

Hello!
The FlashDevelop Profiler is accusing FlxSound and SoundTransform objects of piling up when I keep calling sound effects in the game with the FlxG.play() function. When I keep the FlxSound object and play it manually, the problem is solved!
Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions