コード例 #1
0
 private void newRound()
 {
     //reset the bullet count
     Wave.bulletCount = 0;
     Wave.setWave(Wave.getWave() + 1);
     Score.scoreMultiplier = Wave.getWave();
     speed += 5;
     PlatformMovement.setSpeed(PlatformMovement.getSpeed() + 1.3f);
     PlatformSpawn.setDelay(PlatformSpawn.getDelay() - 0.3f);
     GenerateBullets.setDelay(GenerateBullets.getDelay() - 0.2f);
 }
コード例 #2
0
ファイル: Wave.cs プロジェクト: Ultan-Kearns/MAD3UnityProject
 public static void reset()
 {
     //reset all
     setWave(1);
     bulletCount    = 0;
     Score.scoreNum = 0;
     PlatformMovement.setSpeed(2);
     BulletMovement.speed  = 10;
     Score.scoreMultiplier = getWave();
     PlatformSpawn.setDelay(2);
     GenerateBullets.setDelay(2);
 }