Skip to content

createFromAseprite() consecutively #6434

@yahoai

Description

@yahoai

I am using Phaser version 3.55.2 and there is a bug where only one animation exists when the createFromAseprite function is used consecutively.

For example:

const BodyTags = s.anims.createFromAseprite("Body");
const HeadTags = s.anims.createFromAseprite("Head");

console.log(BodyTags[0].frames[0], HeadTags[0].frames[0]);

When used like this, the output is as shown in the screenshot. How can I fix this issue?

image

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