Game saving?

Just wondering if there are any ways to have game save data in Makecode without the use of password saves, which are definitely manageable, but, you know, it’s password saving. So I was wondering if there was an extension (or heck, something in base Makecode arcade) that allows you to save game data without the need for passwords

3 Likes

@Spaghetti_Coder try using the settings extension! you can use that to save data for your game. just so you know, the saved data is tied to the name of your game, so if you change the name of your game it will clear any saved data!

4 Likes

Could I ask why that is the case? I’m really curious on how it works.

2 Likes

@Sonicblaston it’s because that’s what we do on hardware

most arcade hardware can only hold one game at a time and we don’t want the settings from one game to mess up another game just because they happened to use the same setting name. to avoid that issue we needed to have some sort of indicator to detect when the game had changed on the device and the project name was just a convenient way of doing that.

4 Likes

Oh so that’s why my game occasionally deletes all settings. Because I changed the name.

2 Likes