Pārlūkot izejas kodu

Add more particles

Fszontagh 9 mēneši atpakaļ
vecāks
revīzija
afe5a6e1b4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/game/components/bubble.dart

+ 1 - 1
lib/game/components/bubble.dart

@@ -335,7 +335,7 @@ class Bubble extends SpriteComponent with HasGameReference, TapCallbacks, Collis
 
   void _createExcitingPopParticles() {
     final random = Random();
-    const particleCount = 4; // Further reduced for better performance
+    const particleCount = 12; // Further reduced for better performance
     
     // Use object pooling approach - create fewer, simpler particles
     for (int i = 0; i < particleCount; i++) {