Adjust Timings
This commit is contained in:
@@ -97,7 +97,7 @@ namespace Services {
|
||||
// remove existing gem/view at that position
|
||||
DestroyMatchedGems(position);
|
||||
|
||||
GemView gemView = this.objectPool.Get(GemType.Bomb, position, this.gameVariables.dropHeight);
|
||||
GemView gemView = this.objectPool.Get(GemType.Bomb, position, 0);
|
||||
gemView.name = "Gem - " + position.x + ", " + position.y + ' ' + GemType.Bomb;
|
||||
|
||||
int scoreValue = GemUtils.GetGemValues(color, this.gameVariables.gemsPrefabs).scoreValue;
|
||||
@@ -258,18 +258,18 @@ namespace Services {
|
||||
}
|
||||
|
||||
private async UniTask FillBoard() {
|
||||
await UniTask.Delay(5);
|
||||
await UniTask.Delay(250);
|
||||
RefillBoard();
|
||||
await UniTask.Delay(5);
|
||||
await UniTask.Delay(600);
|
||||
|
||||
this.matchService.FindAllMatches();
|
||||
if (this.matchService.CurrentMatches.Count > 0) {
|
||||
await UniTask.Delay(5);
|
||||
await UniTask.Delay(600);
|
||||
|
||||
// In cascades, there is no "creating slot" bomb protection.
|
||||
await DestroyMatchesAsync(new List<Vector2Int>());
|
||||
} else {
|
||||
await UniTask.Delay(5);
|
||||
await UniTask.Delay(250);
|
||||
this.currentState = GameState.Move;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user