预加载特效序列帧

This commit is contained in:
2025-06-10 19:30:56 +08:00
parent 17c25ca099
commit 414f8e41b5
5 changed files with 676 additions and 599 deletions

View File

@@ -34,11 +34,17 @@ export class ResourceManager {
}
this.resources.push({ url: respath.bg_done, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.icon_star1, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.icon_star2, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.home_top_dc_bg_normal, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.home_top_dc_bg_finish, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.dc_top_bg_normal, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.dc_top_bg_finish, type: Laya.Loader.IMAGE })
const dc_lights = respath.get_dc_lights()
for (let i = 0; i < dc_lights.length; i++) {
this.resources.push({ url: dc_lights[i], type: Laya.Loader.IMAGE })
}
this.resources.push({ url: respath.trophy_bg_light_gold, type: Laya.Loader.IMAGE })
this.resources.push({ url: respath.trophy_bg_light_grey, type: Laya.Loader.IMAGE })