Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5408d89cc3 | ||
|
2c205ce1d0 | ||
|
f26f8d0736 | ||
|
4397123bc8 | ||
|
8aa9f01b84 | ||
|
c268b73a75 |
@ -21,6 +21,6 @@ public class Background {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void drawObstacles(Graphics g) {
|
public void drawObstacles(Graphics g) {
|
||||||
g.drawImage(obstacles, 0, 200);
|
g.drawImage(obstacles, 0, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 = {
|
||||||
6, 321, 49, 318, 100, 228, 145, 259, 230, 356,
|
3, 160, 24, 159, 50, 114, 72, 129, 115, 178,
|
||||||
86, 375, 365, 325, 344, 232, 296, 296, 457, 355,
|
43, 187, 182, 162, 172, 116, 148, 148, 228, 177,
|
||||||
480, 260, 530, 288, 500, 288, 590, 297, 617, 343,
|
240, 130, 265, 144, 250, 144, 295, 148, 308, 171,
|
||||||
2, 467, 502, 7
|
1, 233, 251, 3
|
||||||
};
|
};
|
||||||
|
|
||||||
private int width, height;
|
private int width, height;
|
||||||
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 3.1 KiB |
@ -12,7 +12,7 @@ public class Main extends Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Main() {
|
public Main() {
|
||||||
super(new MainApp(), 640, 480);
|
super(new MainApp(), 320, 240);
|
||||||
setTitle("Military Hero");
|
setTitle("Military Hero");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 3.1 KiB |