Feat: 烟花时长延长至10秒,发射数量增至12枚

This commit is contained in:
2026-02-27 14:35:16 +08:00
parent 4668c163aa
commit 3aac261a34

View File

@@ -237,13 +237,13 @@ const FireworksEffect = (() => {
const ctx = canvas.getContext("2d");
const w = canvas.width;
const h = canvas.height;
const DURATION = 6000;
const DURATION = 10000;
let rockets = [];
let particles = [];
let animId = null;
let launchCnt = 0;
const MAX_LAUNCHES = 8;
const MAX_LAUNCHES = 12;
// 定时发射火箭
const launchInterval = setInterval(() => {