diff --git a/src/main.rs b/src/main.rs index c3e6ee7..39f5551 100644 --- a/src/main.rs +++ b/src/main.rs @@ -74,8 +74,8 @@ fn setup( commands.spawn(Camera2dBundle::default()); const TILES: i32 = 9; - const TILE_SIZE: f32 = 50.; - const GAP_SIZE: f32 = 10.; + const TILE_SIZE: f32 = 5.; + const GAP_SIZE: f32 = 1.; const TOTAL_WIDTH: f32 = (TILE_SIZE + GAP_SIZE) * TILES as f32; const TILE_SPACE: f32 = TOTAL_WIDTH / TILES as f32; const OFFSET: f32 = TILE_SPACE / 2.; @@ -87,7 +87,7 @@ fn setup( commands .spawn(( SpatialBundle { - transform: Transform::from_xyz(0., 0., 0.), + transform: Transform::from_xyz(0., 0., 0.).with_scale(Vec3::splat(10.)), ..default() }, Board,