Level 3
parent
3506ed941c
commit
d6729e3481
|
@ -1,2 +1,4 @@
|
||||||
Have you heard of the tragedy of
|
Well you just finished the tutorial
|
||||||
Darth Charlie the Wise?
|
It only gets harder from here
|
||||||
|
You ready for some real platformering?
|
||||||
|
Platformering hmmm.. is that a word?
|
|
@ -1,18 +1,18 @@
|
||||||
wwwwwwwwwwwwwwwwwe assd
|
wwwwwwwwwwwwwwwwwe assd +
|
||||||
sssssssssssssssssd qwwwwwwwwwwwwwwwwwwe assd
|
sssssssssssssssssd qwwwwwwwwwwwwwwwwwwe assd +
|
||||||
sssssssssssssssssd agxxxxxxxxxxxxxxxxxc assd
|
sssssssssssssssssd agxxxxxxxxxxxxxxxxxc assd +
|
||||||
sssssssssssssssssd ad assd
|
sssssssssssssssssd ad assd +
|
||||||
sssssssssssssssssd qwe ak assd
|
sssssssssssssssssd qwe ak assd +
|
||||||
sssssssssssssssssd asd ak assd
|
sssssssssssssssssd asd ak assd +
|
||||||
sssssssssssssssssd zxc ak zxxc
|
sssssssssssssssssd zxc ak zxxc +
|
||||||
sssssssssssssssssd ad bbbb qe qe
|
sssssssssssssssssd ad bbbb qe qe +
|
||||||
sssssssssssssssssd qsd bbbb ad ad
|
sssssssssssssssssd qsd bbbb ad ad +
|
||||||
sssssssssssssssssd ask bbbb ad ! ! ad
|
sssssssssssssssssd ask bbbb ad ! ! ad +
|
||||||
sssssssssssssssssd zxc qwwwwwwwwwwwwwwwwwwwwwwwwwwe qrtwwwwwwwwwwwwrd
|
sssssssssssssssssd zxc qwwwwwwwwwwwwwwwwwwwwwwwwwwe qrtwwwwwwwwwwwwrd +
|
||||||
sssssssssssssssssd agxxxxxxxxxxxxxxxxxxxxxxxxxfllllllllllgxxxxxxxxxxxxxxxc
|
sssssssssssssssssd agxxxxxxxxxxxxxxxxxxxxxxxxxfllllllllllgxxxxxxxxxxxxxxxc +
|
||||||
sssssssssssssssssd qwwwwwwwwwe o ad zxxxxxxxxxxc
|
sssssssssssssssssd qwwwwwwwwwe o ad zxxxxxxxxxxc +
|
||||||
sssssssssssssssssd zxxxxxxxxxc qwe ad
|
sssssssssssssssssd zxxxxxxxxxc qwe ad +
|
||||||
sssssssssssssssssd asd zc +
|
sssssssssssssssssd+ asd zc +
|
||||||
ssssssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwe zxc qe !!!!!!!!!!!!!!!!!!!!!!! qe
|
ssssssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwe zxc qe ! ! ! ! qe
|
||||||
ssssssssssssssssssssssssssssssssssssssssssssdllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllatwwwwwwwwwwwwwwwwwwwwwwwwwrd
|
ssssssssssssssssssssssssssssssssssssssssssssdllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllatwwwwwwwwwwwwwwwwwwwwwwwwwrd
|
||||||
ssssssssssssssssssssssssssssssssssssssssssssdllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllssssssssssssssssssssssssssssd
|
ssssssssssssssssssssssssssssssssssssssssssssdllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllssssssssssssssssssssssssssssd
|
|
@ -1,20 +1,2 @@
|
||||||
$Villain
|
$Villain
|
||||||
I am having a seizure.
|
I am having a seizure.
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
||||||
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
|
|
|
@ -1,18 +1,18 @@
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwe asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssgxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxfd asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssd ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssd ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssd ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssd+ ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssstwwwwww wwwww ww w wwe ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
assssssssssssslllsssssllllssllslllssd zc asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssgxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc qe asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssd b ad asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssd b zc asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssd b asssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssd !!!!!!!!!!!!!!!!!!!!!!!! b zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssdbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb d
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssdbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb qe qe d
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssd ak hk d
|
||||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
asssssdo ad ! ! ad xd
|
||||||
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
|
assssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwc
|
|
@ -19,7 +19,7 @@ public class BombDirectionShow extends StickyBomb implements Serializable {
|
||||||
while(isMove&&loopCounter<10) {
|
while(isMove&&loopCounter<10) {
|
||||||
super.move();
|
super.move();
|
||||||
if(isMove&&canUpdate(0,0)) {
|
if(isMove&&canUpdate(0,0)) {
|
||||||
g.drawRect(x - GameFrame.game.camera.x + Player.PLAYER_WIDTH / 2, y + Player.PLAYER_HEIGHT / 2, 2, 2);
|
g.drawRect(x - GameFrame.game.camera.x, y, 2, 2);
|
||||||
}
|
}
|
||||||
loopCounter++;
|
loopCounter++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
|
||||||
public static final int GAME_WIDTH = 1225;
|
public static final int GAME_WIDTH = 1225;
|
||||||
public static final int GAME_HEIGHT = 630;
|
public static final int GAME_HEIGHT = 630;
|
||||||
|
|
||||||
public static final int fireballSpeed = 5;
|
public static final int fireballSpeed = 6;
|
||||||
|
|
||||||
public static Font tutorialFont = new Font(Font.MONOSPACED, Font.BOLD, 36);
|
public static Font tutorialFont = new Font(Font.MONOSPACED, Font.BOLD, 36);
|
||||||
public static Font loreFont = new Font(Font.MONOSPACED, Font.ITALIC + Font.BOLD, 36);
|
public static Font loreFont = new Font(Font.MONOSPACED, Font.ITALIC + Font.BOLD, 36);
|
||||||
|
@ -293,7 +293,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
|
||||||
if(fireballs.get(i)!=null) {
|
if(fireballs.get(i)!=null) {
|
||||||
fireballs.get(i).draw(g);
|
fireballs.get(i).draw(g);
|
||||||
}
|
}
|
||||||
if(fireballs.get(i).dead){
|
if(i<fireballs.size()&&fireballs.get(i).dead){
|
||||||
fireballs.remove(i);
|
fireballs.remove(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
|
||||||
}
|
}
|
||||||
if(player.leftMouseDown&&LevelManager.bombs>0&&!player.holdingSteel){
|
if(player.leftMouseDown&&LevelManager.bombs>0&&!player.holdingSteel){
|
||||||
|
|
||||||
bombDir = new BombDirectionShow(this.player.x + this.camera.x + WIDTH/2, this.player.y+HEIGHT/2,
|
bombDir = new BombDirectionShow(this.player.x + this.camera.x + player.WIDTH/2, this.player.y+player.HEIGHT/2,
|
||||||
(player.mouseX - this.player.x) / 20, (player.mouseY - this.player.y) / 10);
|
(player.mouseX - this.player.x) / 20, (player.mouseY - this.player.y) / 10);
|
||||||
bombDir.draw(g);
|
bombDir.draw(g);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,13 +29,14 @@ public class LevelManager implements Serializable {
|
||||||
bombs = 8;
|
bombs = 8;
|
||||||
} else if(level == 2){
|
} else if(level == 2){
|
||||||
//-400/400
|
//-400/400
|
||||||
xSpawn = 700;
|
xSpawn = -400;
|
||||||
ySpawn = 0;
|
ySpawn = 400;
|
||||||
filePath = "saves/Level2.txt";
|
filePath = "saves/Level2.txt";
|
||||||
bombs = 5;
|
bombs = 3;
|
||||||
} else if(level == 3){
|
} else if(level == 3){
|
||||||
xSpawn = 200;
|
//-800/100
|
||||||
ySpawn = 0;
|
xSpawn = -800;
|
||||||
|
ySpawn = 100;
|
||||||
filePath = "saves/Level3.txt";
|
filePath = "saves/Level3.txt";
|
||||||
bombs = 99329;
|
bombs = 99329;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue