Skip to content
Discussion options

You must be logged in to vote

It sounds like maybe you haven't added the LdtkPlugin to your app which would include that asset loader. See the commented line in this excerpt from the "basic" example.

App::new()
    .add_plugins(
        DefaultPlugins.set(ImagePlugin::default_nearest()),
    )
    .add_plugins(LdtkPlugin) // <---- this line
    .add_systems(Startup, setup)
    .insert_resource(LevelSelection::Index(0))
    .register_ldtk_entity::<MyBundle>("MyEntityIdentifier")
    .run();

The bevy_ecs_ldtk repo or the bevy_ecs_ldtk help thread on discord might be a better place to find help with that plugin.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Abubakar1122331
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants