-
Notifications
You must be signed in to change notification settings - Fork 38
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
Conversation
There was a regression for 'minimal' and 'movement' indeed. But this is fixed with my latest commit now! |
examples/krypta.rs
Outdated
@@ -52,7 +52,6 @@ fn main() | |||
}), | |||
BevyMagicLight2DPlugin, | |||
ResourceInspectorPlugin::<BevyMagicLight2DSettings>::new(), | |||
WorldInspectorPlugin::new(), |
There was a problem hiding this comment.
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))) |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
Cargo clippy and cargo fmt commits are included here to try to fix the trunk check so the PR can be merged |
/trunk merge |
Update merge config
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.