feat(spawnRandomPerk): Добавлена функция создания случайного бонуса по заданым координатам

This commit is contained in:
Ilia Mashkov
2026-07-19 15:08:22 +03:00
parent b2f0810ec2
commit a4c4e2a192
3 changed files with 58 additions and 0 deletions
+6
View File
@@ -18,3 +18,9 @@ export const BRICK_HEIGHT = 10;
export const BRICK_ROW_AMOUNT = 5;
export const BRICK_COLUMN_AMOUNT = 20;
export const PERK_WIDTH = 16;
export const PERK_HEIGHT = 16;
export const PERK_FALL_SPEED = 3;
export const PERK_DROP_CHANCE = 0.3;
export const PERK_BALL_SPEED_DECREASE = 2;