master
GammelJAN 6 years ago
parent d722fd708b
commit 643b163ee1

@ -13,7 +13,7 @@ public class Archer extends Entity{
this.maxhp = 75*lvl;
this.hp = this.maxhp;
this.direction = 1;
this.dmg = 10*lvl;
this.dmg = 7*lvl;
this.id = 0;
this.type = 1;
counter = 0;

@ -22,7 +22,7 @@ public class Firewizard extends Entity{
this.maxhp = 80*lvl;
this.hp = this.maxhp;
this.direction = 1;
this.dmg = 25*lvl;
this.dmg = 12*lvl;
this.id = 6;
this.type = 1;
counter = 0;

@ -11,7 +11,7 @@ public class Swordsman extends Entity {
this.maxhp = 100*lvl;
this.hp = this.maxhp;
this.direction = 1;
this.dmg = 20*lvl;
this.dmg = 17*lvl;
this.id = 1;
this.type = 0;

@ -22,7 +22,7 @@ public class Wizard extends Entity{
this.maxhp = 80*lvl;
this.hp = this.maxhp;
this.direction = 1;
this.dmg = 15*lvl;
this.dmg = 10*lvl;
this.id = 3;
this.type = 1;
counter = 0;

@ -86,6 +86,18 @@ public class GameScreen {
playerTexture[2] = new Texture(Gdx.files.internal("sprites/playerpurple.png"));
playerTexture[3] = new Texture(Gdx.files.internal("sprites/playerpurple.png"));
break;
case 3:
playerTexture[0] = new Texture(Gdx.files.internal("sprites/playergreen.png"));
playerTexture[1] = new Texture(Gdx.files.internal("sprites/playergreen.png"));
playerTexture[2] = new Texture(Gdx.files.internal("sprites/playergreen.png"));
playerTexture[3] = new Texture(Gdx.files.internal("sprites/playergreen.png"));
break;
case 4:
playerTexture[0] = new Texture(Gdx.files.internal("sprites/playerorange.png"));
playerTexture[1] = new Texture(Gdx.files.internal("sprites/playerorange.png"));
playerTexture[2] = new Texture(Gdx.files.internal("sprites/playerorange.png"));
playerTexture[3] = new Texture(Gdx.files.internal("sprites/playerorange.png"));
break;
}

@ -92,13 +92,15 @@ public class MainMenuScreen{
//PLAYER PREVIEW
playerRegion = new TextureRegion[3][][];
playerRegion = new TextureRegion[5][][];
shownPlayer = 0;
animationState = 0;
playerRegion[0] = TextureRegion.split(new Texture("sprites/player.png"), 64, 64);
playerRegion[1] = TextureRegion.split(new Texture("sprites/playerblue.png"), 64, 64);
playerRegion[2] = TextureRegion.split(new Texture("sprites/playerpurple.png"), 64, 64);
playerRegion[3] = TextureRegion.split(new Texture("sprites/playergreen.png"), 64, 64);
playerRegion[4] = TextureRegion.split(new Texture("sprites/playerorange.png"), 64, 64);
playerSprite = new Sprite(playerRegion[shownPlayer][0][animationState]);

Loading…
Cancel
Save