diff --git a/bin/GUI/ChessDrawer.class b/bin/GUI/ChessDrawer.class index 1cad0b5..7a15e7b 100644 Binary files a/bin/GUI/ChessDrawer.class and b/bin/GUI/ChessDrawer.class differ diff --git a/bin/GUI/Controller.class b/bin/GUI/Controller.class index aefa722..2ce80c9 100644 Binary files a/bin/GUI/Controller.class and b/bin/GUI/Controller.class differ diff --git a/res/Icon.png b/res/Icon.png index a9c8827..05ab5eb 100644 Binary files a/res/Icon.png and b/res/Icon.png differ diff --git a/res/Pieces-hirez.png b/res/Pieces-hirez.png new file mode 100644 index 0000000..393fefa Binary files /dev/null and b/res/Pieces-hirez.png differ diff --git a/src/GUI/ChessDrawer.java b/src/GUI/ChessDrawer.java index 72375ea..4f740ab 100644 --- a/src/GUI/ChessDrawer.java +++ b/src/GUI/ChessDrawer.java @@ -24,7 +24,7 @@ public class ChessDrawer { public static Color multiverseDark = Color.rgb(148,180,116); public static Color arrowColor = Color.rgb(147,112,219); - private static final int SPRITEWIDTH = 32; + private static final int SPRITEWIDTH = 128; private static final int SPRITESHEETWIDTH = 10; public static int squarewidth = 32; public static int halfSquare = squarewidth / 2; @@ -203,7 +203,7 @@ public static void drawColoredTimeline(GraphicsContext gc, int x, int y, int scr public static void drawFullBoardV(GraphicsContext gc, Board b, boolean color, boolean playable, int x, int y, int screenx, int screeny) { if (piecesprites == null) { try { - piecesprites = new Image(new FileInputStream("res/PieceSprites.png")); + piecesprites = new Image(new FileInputStream("res/Pieces-hirez.png")); } catch (FileNotFoundException e) { System.out.println("Cannot find the Image :l"); e.printStackTrace(); @@ -283,11 +283,9 @@ public static void drawAllSquaresV(GraphicsContext gc, Color c, ArrayList al, CoordFour target) { } private void panToBoard(int T, int L) { - int pany = (L - g.minTL) * (ChessDrawer.padding + (ChessDrawer.squarewidth * g.height)) - 30; + int pany = (L) * (ChessDrawer.padding + (ChessDrawer.squarewidth * g.height)) - 30; int panx = ((T - 1) * 2) * (ChessDrawer.padding + (ChessDrawer.squarewidth * g.width)) - 30; screenX = panx; screenY = pany;