Permalink
Browse files

Small things.

  • Loading branch information...
1 parent 6309c24 commit 4cb92b26211f6c2f821ebeab9613fc0a7aa984f7 @SubSage committed Apr 7, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 GDCalaga/src/org/gdc/gdcalaga/PlayState.java
  2. +1 −1 GDCalaga/src/org/gdc/gdcalaga/Player.java
@@ -57,7 +57,7 @@ public void render(GameContainer container, StateBasedGame game, Graphics g) thr
int xPixel = 5;
g.drawString(playerHP, xPixel, 30);
- String shieldsLeft = new String("Player Shields: " + player.getShields());
+ String shieldsLeft = new String("Player Shields: " + player.getShields()/1000.0);
xPixel = xPixel + (playerHP.length() * 10) + desiredSpacing;
g.drawString(shieldsLeft, xPixel, 30);
@@ -237,7 +237,7 @@ public static void upgrade(Upgrade.UpgradeType upgrade)
shields += 3000; //Give 3 seconds worth of shielding
break;
case FIRE_RATE:
- fireRate += 1; //Having these two variables separated makes it easier to debug and read
+ fireRate += .5; //Having these two variables separated makes it easier to debug and read
ticksPerBullet = (int)(1000 / fireRate); //A little bit weird that we have to do these two things...
break;
case NUM_GUNS:

0 comments on commit 4cb92b2

Please sign in to comment.