Skip to content

Handling object re-parenting over time in Spriter timeline conversion #17

@evandrodacs

Description

@evandrodacs

In the Spriter timeline, it is possible for an object to change its parent over the course of an animation.

When converting to the SCMLParser, this currently causes the object to be duplicated so it can be placed correctly in the hierarchy under the new parent.

This behavior should be avoided on the animator’s side.

I added the _canonical field, but I still haven’t found a coherent way to enable and disable objects properly. At the moment, all objects are activated at the same time, which is incorrect.

The next step will be to enable objects only at their correct times, and when an object changes its parent, it will also need to be disabled accordingly.

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