easier numbers?

This commit is contained in:
Zynh Ludwig 2024-08-20 21:45:43 -07:00
parent dfc012d370
commit f17917ecad

View file

@ -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,