Skip to content

Animation looping problem #15

Open
@moly

Description

@moly

FlxSprite's looping Boolean is currently doing nothing because this in FlxSprite::play()

if(!Force && (_curAnim != null) && (AnimName == _curAnim.name) && (_curAnim.looped || !finished)) return;

Should be this:

if(!Force && (_curAnim != null) && (AnimName == _curAnim.name) && (!_curAnim.looped || !finished)) return;

With this fix a non-looping animation will actually not loop. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions