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

Upgraded to bevy 0.14 #61

Merged
merged 10 commits into from
Aug 25, 2024
Merged

Upgraded to bevy 0.14 #61

merged 10 commits into from
Aug 25, 2024

Conversation

Rezan7CC
Copy link
Collaborator

Krypta.rs looks good.

However for minimal.rs I only see the 3 colored lights with a sharp fall-off (black otherwise).
And movement.rs is a black-screen for me.

I did not check what those examples looked like before the upgrade, will have a look and compare soon.

Copy link

trunk-io bot commented Aug 16, 2024

😎 Merged manually by Vladimir Zaytsev (@zaycev) - details.

@Rezan7CC
Copy link
Collaborator Author

There was a regression for 'minimal' and 'movement' indeed. But this is fixed with my latest commit now!

@@ -52,7 +52,6 @@ fn main()
}),
BevyMagicLight2DPlugin,
ResourceInspectorPlugin::<BevyMagicLight2DSettings>::new(),
WorldInspectorPlugin::new(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed WorldInspectorPlugin for krypta again (I added it in the previous commit) because none of the examples have that one enabled by default

@@ -7,7 +7,7 @@ fn main()
{
// Basic setup.
App::new()
.insert_resource(ClearColor(Color::rgb_u8(255, 255, 255)))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rgb_u8 is deprecated in bevy 0.14 now

@@ -160,7 +160,7 @@ pub fn system_extract_pipeline_assets(
{
if let Ok((camera, camera_global_transform)) = query_camera.get_single() {
let camera_params = gpu_pipeline_assets.camera_params.get_mut();
let projection = camera.projection_matrix();
let projection = camera.clip_from_view();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same method, different name

LAYER_OBJECTS_ID,
];

pub const LAYER_POST_PROCESSING_ID: Layer = 42;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of layers is unlimited now. I chose '42' just as some arbitrary large number

@Rezan7CC
Copy link
Collaborator Author

Cargo clippy and cargo fmt commits are included here to try to fix the trunk check so the PR can be merged

@zaycev
Copy link
Owner

zaycev commented Aug 25, 2024

/trunk merge

@zaycev zaycev merged commit 231e36c into zaycev:main Aug 25, 2024
1 check failed
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