-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Updated the 2D examples to make them uniform #17237
Updated the 2D examples to make them uniform #17237
Conversation
…ons at the top of the window, choosing better colors, and centering the props.
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
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.
I like most of the tweaks, but feel like most of the added Text
is not useful.
(Feel free to wait for some consensus on that point before making any related changes)
@@ -118,6 +132,7 @@ fn setup_camera(mut commands: Commands, mut images: ResMut<Assets<Image>>) { | |||
// render before the "main pass" camera | |||
order: -1, | |||
target: RenderTarget::Image(image_handle.clone().into()), | |||
clear_color: ClearColorConfig::Custom(GRAY.into()), |
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.
We should try to keep the default clear color unless it's totally necessary to change it.
We may want to discuss a "standard light clear color" for situations like this. The default clear color was chosen for branding reasons and isn't quite just "dark gray."
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.
We should keep the standard clear color when possible. A standard light clear color is a good idea: we should consider adding a bevy::color::palettes::bevy_branding
for this in another PR.
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.
To be clear, I think GRAY
is fine for now while we discuss.
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.
I applied the same method used in 'mesh2d_arcs' and set GRAY as the default color in both this example and there. I only changed it because it wasn't legible enough. :)
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.
We should keep the standard clear color when possible. A standard light clear color is a good idea: we should consider adding a
bevy::color::palettes::bevy_branding
for this in another PR.
I'll try to work on that when I finish this pull request :)
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.
We should keep the standard clear color when possible. A standard light clear color is a good idea: we should consider adding a
bevy::color::palettes::bevy_branding
for this in another PR.
I found this pull request talking about a bevy palette
I would suggset keeping this PR scoped to the 2d examples and opening another later. |
I agree on that. Text is useful for instructions, not for explanations |
I gave my bevy beginner opinion here, would love to know what you think :) |
…lanation & made better instruction texts
Co-authored-by: Rob Parrett <[email protected]>
Almost there :) Let me know when you've fixed @rparrett's last round of review and I think this will be good to merge. |
I don't mind taking the time, since my plan is to apply these changes to the other examples :) |
Thanks for your patience here, and thanks @rparrett for the thorough review :) |
Objective
Make the examples look more uniform and more polished.
following the issue #17167
Solution
...