Skip to content

Tweening an abstract class property causes framedrops (& memory leaks I think) #384

@T5mpler

Description

@T5mpler

(Don't have a video of this right now unfortunately because I'm not home but Ijust want to make sure I don't forget to make this an issue)

When you tween for example, a sprite via FlxTween.color, you'll notice the flixel memory counter will start to spike drastically and a ton more update calls are made.

Pretty sure the reason this happens is due to how abstracts were refactored to add support for instances and more, and because the game instantiates a new abstract upon being called it leads to this issue, but feel free to correct me if I'm wrong.

(296fb19)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions