diff --git a/scripts/board.gd b/scripts/board.gd index e647b521f4ee79170e6dbf716ac2ff1b48f28c07..7837e44665028b653a1ed21f780dc164f0ddab22 100644 --- a/scripts/board.gd +++ b/scripts/board.gd @@ -50,7 +50,7 @@ func display_board(): # Instantiate texture holders, scene that holds pieces var holder = TEXTURE_HOLDER.instantiate() pieces.add_child(holder) - holder.global_position = Vector2(-j * CELL_WIDTH + (CELL_WIDTH * 3.5), i * CELL_WIDTH - (CELL_WIDTH * 3.5)) + holder.global_position = Vector2(j * CELL_WIDTH + (CELL_WIDTH * -3.5), -i * CELL_WIDTH - (CELL_WIDTH * -3.5)) # Looks at board array and matches pieces with its respective value match board[i][j]: