Skip to content

Can not use CCActionTween in jsb #1764

Open
@mutoo

Description

@mutoo

this assertion requires that target should be an ActionTweenDelegate, but there is no javascript binding about ActionTweenDelegate

void ActionTween::startWithTarget(Node *target)
{
    CCASSERT(dynamic_cast<ActionTweenDelegate*>(target), "target must implement ActionTweenDelegate");
    ActionInterval::startWithTarget(target);
    _delta = _to - _from;
}

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