commit
f91c7416ae
|
@ -11,7 +11,7 @@
|
||||||
3430 500 Click left to throw a bomb You have a limited amount of bombs per level!
|
3430 500 Click left to throw a bomb You have a limited amount of bombs per level!
|
||||||
2950 550 you can blow up boxes
|
2950 550 you can blow up boxes
|
||||||
500 200 Press WASD to move and R to restart
|
500 200 Press WASD to move and R to restart
|
||||||
500 250 D makes you fall down faster
|
500 250 S makes you fall down faster
|
||||||
4250 100 You can pickup/placedown steel using right click
|
4250 100 You can pickup/placedown steel using right click
|
||||||
4250 150 Hold right click to see your pickup/placedown range
|
4250 150 Hold right click to see your pickup/placedown range
|
||||||
4250 200 You can't jump or throw bombs while while holding steel
|
4250 200 You can't jump or throw bombs while while holding steel
|
|
@ -10,9 +10,9 @@ asssssgxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc qe
|
||||||
asssssd b ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
asssssd b ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
asssssd b zc asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
asssssd b zc asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
asssssd b asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
asssssd b asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
asssssd !!!!!!!!!!!!!!!!!!!!!!!! b zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
|
asssssd !!!! b zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
|
||||||
asssssdbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb d
|
asssssdbbbbbbb +
|
||||||
asssssdbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb qe qe d
|
asssssdbbbbbbb qe qe +
|
||||||
asssssd ak hk d
|
asssssd ad ak +
|
||||||
asssssdo ad ! ! ad xd
|
asssssdo ad ! hd +
|
||||||
assssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwc
|
assssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwc
|
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
|
|
@ -293,7 +293,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(int i=0; i<fireballs.size(); i++){
|
for(int i=0; i<fireballs.size(); i++){
|
||||||
if(fireballs.get(i)!=null) {
|
if(fireballs.get(i)!=null&&fireballs.get(i).canUpdate(0,0)) {
|
||||||
fireballs.get(i).draw(g);
|
fireballs.get(i).draw(g);
|
||||||
}
|
}
|
||||||
if(i<fireballs.size()&&fireballs.get(i).dead){
|
if(i<fireballs.size()&&fireballs.get(i).dead){
|
||||||
|
|
|
@ -38,7 +38,13 @@ public class LevelManager implements Serializable {
|
||||||
xSpawn = -800;
|
xSpawn = -800;
|
||||||
ySpawn = 100;
|
ySpawn = 100;
|
||||||
filePath = "saves/Level3.txt";
|
filePath = "saves/Level3.txt";
|
||||||
bombs = 99329;
|
bombs = 4;
|
||||||
|
} else if(level == 4){
|
||||||
|
//-800/100
|
||||||
|
xSpawn = -800;
|
||||||
|
ySpawn = 100;
|
||||||
|
filePath = "saves/Level4.txt";
|
||||||
|
bombs = 4;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
MapReader.inputMap(filePath);
|
MapReader.inputMap(filePath);
|
||||||
|
@ -75,6 +81,7 @@ public class LevelManager implements Serializable {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
//GamePanel.player.reset();
|
//GamePanel.player.reset();
|
||||||
|
//System.out.println("done111");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setLevel(int level) {
|
public static void setLevel(int level) {
|
||||||
|
@ -82,5 +89,6 @@ public class LevelManager implements Serializable {
|
||||||
}
|
}
|
||||||
public static void nextLevel(){
|
public static void nextLevel(){
|
||||||
setLevel(level+1);
|
setLevel(level+1);
|
||||||
|
System.out.println("done222");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue