Skip to content

Does bevy_yarnspinner support Node Group ? #273

@Galdormin

Description

@Galdormin

Does bevy_yarnspinner support Node Group as presented in https://docs.yarnspinner.dev/write-yarn-scripts/advanced-scripting/node-groups ?

I've tested it with the hello_world example and the dialogue below, but the dialogue runner raise an error at loading.

Dialogue:

title: HelloWorld
when: always
---
Hello again!
===

title: HelloWorld
when: once
---
Hello, nice to meet you!
===

Error:

Failed to load asset 'dialogue/hello_world.yarn' with asset loader 'bevy_yarnspinner::yarn_file_asset::YarnFileAssetLoader': error: More than one node is named HelloWorld

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