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

Add support for Bevy 0.15 #10

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

jeffkreeftmeijer
Copy link

This patch adds support for Bevy 0.15, by following the upgrade guides. One change that might require some extra scrutiny is 64453fd, which removes adding Masa::Off, which is no longer a resource in Bevy 0.15. Instead, it's added to the examples.

Use bevy 0.15's bundle tuples for the viewport sprite and viewport camera.
- Replace Camera2dBundle with Camera2d
- Replace SpritBundle with Sprite
- Use time.elapsed_secs() instead of .elapsed_seconds()
Msaa::Off is no longer a resource, so it can't be added as a
system. Instead, spawn it as part of the camera in the examples.
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