Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.3.0 #21

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Version 0.3.0 #21

merged 1 commit into from
Nov 30, 2024

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