Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
saumil-ventura1 committed Apr 9, 2024
2 parents bd17a9c + ce07ccb commit 4bf51a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main-adafc8e5c347ee6977fc.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9381,7 +9381,7 @@
}
nextDifficultyLevel() {
if (!this._gameOver) {
this._baseGravity += 50,
// this._baseGravity += 50,
this._maxSpawnDelay = Math.max(this._maxSpawnDelay - 100, this._minSpawnDelay);
var e = this.scene.registry.has("difficultySetting") ? this.scene.registry.get("difficultySetting") : 0
, t = this.scene.registry.has("difficultyWinRate") ? this.scene.registry.get("difficultyWinRate") : .05
Expand All @@ -9391,8 +9391,8 @@
this._test ? (this._maxSpawnDelay = 2e3,
this.spawnStar(this.randomTypeObject(-1))) : e >= 1 ? (void 0 !== r ? (r *= n,
this._initialSize = Math.max(this._initialSize - r, .6),
this._initialFallSpeed += r) : (this._initialSize = Math.max(this._initialSize - .01, .6),
this._initialFallSpeed += .01),
this._initialFallSpeed) : (this._initialSize = Math.max(this._initialSize - .01, .6),
this._initialFallSpeed),
this.spawnStar(this.randomTypeObject(1)),
this._numRockets < this._maxRockets && Math.random() < this._rateRockets && (this._numRockets++,
this._initialRocketSize = Math.max(this._initialSize * this._initialRocketSize + r, 1.5),
Expand Down Expand Up @@ -9497,8 +9497,8 @@
console.log(this._planetPoints, this._playerPoints, this._pointscore);
else if (this._planetPoints <= 0 || this._playerPoints <= 0 || this._pointscore < 0) {
this._gameOver = !0,
this._pointscore = 0,
this._multiplier = 0,
// this._pointscore = 0,
// this._multiplier = 0,
this.setPaused(!0),
this.scene.game.events.emit("end_game", {
score: Math.floor(this._pointscore * this._multiplier),
Expand Down

0 comments on commit 4bf51a2

Please sign in to comment.