Fixed the reported issue: progress was not restored after a reload. Root cause: bridge.storage.
關於 Fortress Clash
Fixed the reported issue: progress was not restored after a reload.
Root cause: bridge.storage.get() returns the saved value already parsed as an object, while the game expected a JSON string and parsed it again, which threw and silently discarded the save.
Changes:
- storage.get() now accepts both shapes (object and string).
- The save is loaded BEFORE gameplay is shown: a loading screen is displayed and input is ignored until storage.get() resolves, so a fresh default save can no longer overwrite real progress during startup.
- Saves carry a revision counter, so after "finish a level, then buy an upgrade" the newest copy always wins instead of an older one at the same level.
- Any pending write is flushed on page hide / unload, so the last action before a reload is never lost.
Verified in the QA tool: state written before Reload game is fully restored after it.
Fortress Clash 玩法
Pick a block or unit from the bottom tray, then tap the grid to place it on your cart and build your fort and army. Blocks cost coins; every win pays out coins and lets you choose a bonus reward. Press Battle to launch - your archers and units fire at the enemy fort automatically. Win by destroying the enemy king: knock him off his cart, bury him in rubble, or blast through his walls. Spend coins on the Upgrade screen to level up units and unlock new weapons (cannon, crossbow, laser, grenade). Play with mouse or touch - no keyboard needed.
常見問題
Fortress Clash 可以免費玩嗎?
可以。Fortress Clash 在 BGB Games 上完全免費,不需要下載或安裝任何東西。
Fortress Clash 要怎麼玩?
使用滑鼠或鍵盤操作;遊戲開始時會顯示操作說明。
Fortress Clash 可以在手機上玩嗎?
可以,Fortress Clash 支援觸控操作,手機、平板和電腦都能玩。
Fortress Clash 是誰開發的?
Fortress Clash 是一款由 Playgama 發行的 HTML5 遊戲。