increased spawn time delta
This commit is contained in:
parent
ef4c496b44
commit
eefb0b6288
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ function blockDestroyed() {
|
|||
function waveGen(clock) {
|
||||
this.lastGen = 0;
|
||||
this.last = 0;
|
||||
this.nextGen = 1300; // - 1500; //delay before starting
|
||||
this.nextGen = 1650; // - 1500; //delay before starting
|
||||
this.start = 0;
|
||||
this.colors = colors;
|
||||
this.ct = 0;
|
||||
|
@ -29,7 +29,7 @@ function waveGen(clock) {
|
|||
this.computeDifficulty();
|
||||
if (this.dt - this.lastGen * (1/settings.creationSpeedModifier) > this.nextGen) {
|
||||
if (this.nextGen > 1000) {
|
||||
this.nextGen -= (.4 * (this.nextGen/1300)) * settings.creationSpeedModifier;
|
||||
this.nextGen -= (0.4 * (this.nextGen/1300)) * settings.creationSpeedModifier;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue