From 1eeeae18a50558f7a81cb043980e1bcfa1bd3f73 Mon Sep 17 00:00:00 2001 From: Kyaw Aung <kyawaung0924@gmail.com> Date: Sun, 26 Jan 2025 16:36:10 -0600 Subject: [PATCH] fix: white is now bottom of the board --- scripts/board.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/board.gd b/scripts/board.gd index e647b52..7837e44 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]: -- GitLab