scottschiller / ArmorAlley

A browser-based interpretation of Armor Alley, a combat strategy game originally released in 1990 for the Macintosh and MS-DOS PCs.
https://armor-alley.net/
Other
91 stars 25 forks source link

Saving campaign state #12

Closed artfoundry closed 8 months ago

artfoundry commented 8 months ago

Would be great if the game saved the missions a player had already completed (or at least the last one completed). Maybe even scores too.

scottschiller commented 8 months ago

I've been meaning to patch in a "save state" for games underway, so you could have the option to resume if a browser window was accidentally or intentionally closed etc. There was a prior question about score tracking and perhaps a highscore leaderboard, with some discussion - see #8.

In the meantime, I've added a minimal save / recall for the battle selection drop down, and game difficulty.

scottschiller commented 8 months ago

I'm going to mark this one resolved, noting the game now remembers the last battle and difficulty played using localStorage - when available.

I've noted interest in scores and tracking. Rather than strictly "points" (and inventing some system for counting them), perhaps stats like shortest battle time (i.e., time to win), least units ordered / needed to win, least units / least helicopters lost, most enemy units destroyed etc.