Skip to content

[FEATURE REQUEST] functional API for chaining multiple tweens in one go #114

@HannesGitH

Description

@HannesGitH
let combinedtween = tween
    .chain(tween2)
    .chain(tween3)
    .chain(tween4)
    .chain(tween5);

wouldn't work

instead one needs to apply the chaining 'back to front' à la

let combinedtween = tween
    .chain(tween2 
        .chain(tween3
            .chain(tween4
                .chain(tween5)
             )
        )
    );

which is kinda cumbersome

see codepen L20 (wont work) vs L22

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