# Save File Help!

**URL:** https://forum.makecode.com/t/save-file-help/19978
**Category:** Help
**Tags:** game
**Created:** [May 15, 2023, 9:36pm UTC](https://forum.makecode.com/t/save-file-help/19978 "2023-05-15T21:36:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JtSpeedRun](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jtspeedrun/32/33167_2.png) [@JtSpeedRun](https://forum.makecode.com/u/JtSpeedRun)
#### Post date: [May 15, 2023, 9:36pm UTC](https://forum.makecode.com/t/save-file-help/19978/1 "2023-05-15T21:36:13Z")

</div>

Can someone help me figure out how to add things like save files kinda like in the three brave cats 2?  
if you could put it into this game, if possible, it would be nice! -Runner🏃

> **[Diego "MEGA-BUSTERS"](https://arcade.makecode.com/44993-94566-96634-43843)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Gideon\_loves\_cats](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gideon_loves_cats/32/13863_2.png) [@Gideon\_loves\_cats](https://forum.makecode.com/u/Gideon_loves_cats)
#### Post date: [May 16, 2023, 5:17pm UTC](https://forum.makecode.com/t/save-file-help/19978/2 "2023-05-16T17:17:42Z")

</div>

To have save files you need the settings extension.

---

<div class="post-metadata">

### Author: ![Samsano](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/samsano/32/8307_2.png) [@Samsano](https://forum.makecode.com/u/Samsano)
#### Post date: [May 16, 2023, 5:22pm UTC](https://forum.makecode.com/t/save-file-help/19978/3 "2023-05-16T17:22:40Z")

</div>

Here:

> **[Diego "MEGA-BUSTERS"](https://arcade.makecode.com/S25706-84573-51727-07030)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I made a function that takes two parameters: data(array) and save(text). The function has a settings block in it, the setting is our ‘save’ variable as an array. I’ve commented and made an example with comments.

---

<div class="post-metadata">

### Author: ![JtSpeedRun](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jtspeedrun/32/33167_2.png) [@JtSpeedRun](https://forum.makecode.com/u/JtSpeedRun)
#### Post date: [May 17, 2023, 1:22am UTC](https://forum.makecode.com/t/save-file-help/19978/4 "2023-05-17T01:22:34Z")

</div>

Hey, @Samsano can you explain to me what i should do?

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [May 17, 2023, 1:23am UTC](https://forum.makecode.com/t/save-file-help/19978/5 "2023-05-17T01:23:57Z")

</div>

this is the game i made that hase saving  
the function takes a number and a true or false  
true means save and false means load  
the number is the id of th save

> **[CubeStare V1.5.31](https://arcade.makecode.com/15245-20544-17808-85362)**
>
> Fait avec ❤️ dans Microsoft MakeCode Arcade.

once you start a game press Menu to save ps.the game saves automatically after you save once  
A and B ar upgrades ps.they ar described in the game
