Skip to content

upgrade to bevy 0.16#282

Closed
dealloc wants to merge 2 commits intorparrett:masterfrom
dealloc:master
Closed

upgrade to bevy 0.16#282
dealloc wants to merge 2 commits intorparrett:masterfrom
dealloc:master

Conversation

@dealloc
Copy link

@dealloc dealloc commented May 14, 2025

first attempt at upgrading bevy_prototype_lyon to Bevy 0.16
so far it compiles, tests pass and examples seem to run.

The first two examples (dynamic_shape and dynamic_stroke_size) have some issues.
dynamic_shape seems to have some flickering going I can't seem to get rid off while dynamic_stroke_size doesn't render the shapes as soon as you try to update them.

Both examples stop working as soon as Update schedule touches them, but I can't seem to figure out why or how.

Any help here is greatly appreciated

dealloc added 2 commits May 14, 2025 11:03
Replaced `Handle::weak_from_u128` with the `weak_handle!` macro for cleaner and more concise handle initialization. Updated `Shape` component to use the new `COLOR_MATERIAL_HANDLE` directly. Removed redundant `color_material_handle` function.
@rparrett
Copy link
Owner

rparrett commented May 14, 2025

There's an existing PR doing the migration here: #277

(Note an important bug fix in my branch: #278)

@dealloc
Copy link
Author

dealloc commented May 14, 2025

Ah, my bad! I had read it as Bevy 0.14 rather than this package.

Closing this then!

@dealloc dealloc closed this May 14, 2025
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.

2 participants