Tried to re-center the pieces but they it is fraught...

bevy0.12
Elijah Voigt 2 years ago
parent 6ee1aeec0b
commit cf68b7aecf

@ -291,9 +291,9 @@ fn board_translation(&BoardIndex { x, y }: &BoardIndex) -> Vec3 {
let y = -(y as i8) + 1;
let x = if x < 0 {
x as f32 * 1.3 + 0.325
x as f32 * 1.3 + 0.275 // 0.325
} else {
x as f32 * 1.3 + 1.0
x as f32 * 1.3 + 1.05 // 1.0
};
let y = y as f32 * 1.3 + 0.65;

Loading…
Cancel
Save