Skip to content

Conversation

TimJentzsch
Copy link
Owner

@TimJentzsch TimJentzsch commented Nov 30, 2024

https://crates.io/crates/bevy_mod_bbcode

This release updates to Bevy 0.15, which reworks text and introduces required components.

No More Bundles

With required components, we no longer need the BbcodeBundle.
Instead, just spawn the Bbcode and BbcodeSettings components.
All other needed components will be inserted automatically.

Query for TextSpan

When you wanted to update text dynamically via marker components inserted via BBcode, you used to query for the marker component and Text.
Now, query for TextSpan instead, which is what the BBcode markup gets parsed into now.

Improved performance

Parsing now performs less allocations, improving its performance.

@TimJentzsch TimJentzsch merged commit 4551538 into main Nov 30, 2024
4 checks passed
@TimJentzsch TimJentzsch deleted the release-0.13 branch November 30, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant