working on signs on first level
parent
2e3b2eb90b
commit
009a18ad3b
|
@ -1,5 +1,7 @@
|
||||||
200 350 This is a sign
|
500 150 Hello Kenny, Welcome to my platformer
|
||||||
300 400 This is also a sign
|
1500 150 Don't touch that pink dude
|
||||||
|
1500 200 it looks like it could hurt you
|
||||||
|
2300 300 You can guess what this
|
||||||
|
2300 350 orange substance does
|
||||||
/
|
/
|
||||||
300 200 This is a different sign
|
300 200 Press WASD to move
|
||||||
400 250 sign sign sign sign
|
|
||||||
|
|
|
@ -15,4 +15,4 @@ sssssssssssssssssd qe q e
|
||||||
sssssssssssssssssd ad qwwwrlllte bb ad +ssssssssssssssd
|
sssssssssssssssssd ad qwwwrlllte bb ad +ssssssssssssssd
|
||||||
sssssssssssssssssd ad asssssssste bb ad +ssssssssssssssd
|
sssssssssssssssssd ad asssssssste bb ad +ssssssssssssssd
|
||||||
sssssssssssssssssd ad ! qwrssssssssstwwwe bb ad h +ssssssssssssssd
|
sssssssssssssssssd ad ! qwrssssssssstwwwe bb ad h +ssssssssssssssd
|
||||||
ssssssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwrsssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwd
|
ssssssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwrtwwwwwwwwwwwwwwwwwwwwwwwwwwrsssssssssssssstwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwd
|
||||||
|
|
|
@ -343,7 +343,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
|
||||||
g.drawImage(getImage(filePath),x*Tile.length - (GamePanel.GAME_WIDTH/2)-camera.x,(int)y,Tile.length,Tile.length,null);
|
g.drawImage(getImage(filePath),x*Tile.length - (GamePanel.GAME_WIDTH/2)-camera.x,(int)y,Tile.length,Tile.length,null);
|
||||||
}
|
}
|
||||||
|
|
||||||
g.drawString(camera.x+" "+player.y,100,100);
|
|
||||||
g.drawImage(bomb.image,20,20,35,35,null);
|
g.drawImage(bomb.image,20,20,35,35,null);
|
||||||
g.drawString("X"+LevelManager.bombs,60,40);
|
g.drawString("X"+LevelManager.bombs,60,40);
|
||||||
if (isPaused) {
|
if (isPaused) {
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class LevelManager implements Serializable {
|
||||||
LevelManager.level = level;
|
LevelManager.level = level;
|
||||||
if(level == 1){
|
if(level == 1){
|
||||||
//-400/500
|
//-400/500
|
||||||
xSpawn = -400;
|
xSpawn = 1200;
|
||||||
ySpawn = 500;
|
ySpawn = 500;
|
||||||
filePath = "saves/Level1.txt";
|
filePath = "saves/Level1.txt";
|
||||||
bombs = 99999;
|
bombs = 99999;
|
||||||
|
|
Loading…
Reference in New Issue