Skip to content

Commit

Permalink
Revert changes to colors in Breakout game (bevyengine#4325)
Browse files Browse the repository at this point in the history
# Objective

- existing Breakout colors are too dark and saturated in places

## Solution

- Revert colors in Breakout examples to original values.
  • Loading branch information
alice-i-cecile committed Mar 24, 2022
1 parent ab83336 commit a190cd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/game/breakout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const BRICK_SIZE: Vec3 = const_vec3!([150.0, 30.0, 1.0]);
const SCOREBOARD_FONT_SIZE: f32 = 40.0;
const SCOREBOARD_TEXT_PADDING: Val = Val::Px(5.0);

const BACKGROUND_COLOR: Color = Color::rgb(0.95, 0.95, 0.95);
const BACKGROUND_COLOR: Color = Color::rgb(0.9, 0.9, 0.9);
const PADDLE_COLOR: Color = Color::rgb(0.5, 0.5, 1.0);
const BALL_COLOR: Color = Color::rgb(1.0, 0.5, 0.5);
const BRICK_COLOR: Color = Color::rgb(0.5, 0.5, 1.0);
const WALL_COLOR: Color = Color::DARK_GRAY;
const TEXT_COLOR: Color = Color::BLUE;
const SCORE_COLOR: Color = Color::RED;
const WALL_COLOR: Color = Color::rgb(0.8, 0.8, 0.8);
const TEXT_COLOR: Color = Color::rgb(0.5, 0.5, 1.0);
const SCORE_COLOR: Color = Color::rgb(1.0, 0.5, 0.5);

fn main() {
App::new()
Expand Down

0 comments on commit a190cd5

Please sign in to comment.