easier numbers?
This commit is contained in:
parent
dfc012d370
commit
f17917ecad
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue