Compare commits
No commits in common. "240x320" and "master" have entirely different histories.
@ -21,6 +21,6 @@ public class Background {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void drawObstacles(Graphics g) {
|
public void drawObstacles(Graphics g) {
|
||||||
g.drawImage(obstacles, 0, 100);
|
g.drawImage(obstacles, 0, 200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ public class MainApp extends InputProcessor implements ApplicationListener {
|
|||||||
|
|
||||||
/** Coords for enemies */
|
/** Coords for enemies */
|
||||||
private static final int[] COORD = {
|
private static final int[] COORD = {
|
||||||
3, 160, 24, 159, 50, 114, 72, 129, 115, 178,
|
6, 321, 49, 318, 100, 228, 145, 259, 230, 356,
|
||||||
43, 187, 182, 162, 172, 116, 148, 148, 228, 177,
|
86, 375, 365, 325, 344, 232, 296, 296, 457, 355,
|
||||||
240, 130, 265, 144, 250, 144, 295, 148, 308, 171,
|
480, 260, 530, 288, 500, 288, 590, 297, 617, 343,
|
||||||
1, 233, 251, 3
|
2, 467, 502, 7
|
||||||
};
|
};
|
||||||
|
|
||||||
private int width, height;
|
private int width, height;
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 7.3 KiB |
@ -12,7 +12,7 @@ public class Main extends Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Main() {
|
public Main() {
|
||||||
super(new MainApp(), 320, 240);
|
super(new MainApp(), 640, 480);
|
||||||
setTitle("Military Hero");
|
setTitle("Military Hero");
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 7.3 KiB |