easier numbers?

main
Zynh Ludwig 2024-08-20 21:45:43 -07:00
parent dfc012d370
commit f17917ecad
1 changed files with 3 additions and 3 deletions

View File

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