# My little game experiment/challenge

**URL:** <https://forum.makecode.com/t/my-little-game-experiment-challenge/30850>\
**Category:** Show & Tell\
**Tags:** game, graphics-and-math, make\
**Created:** [September 25, 2024, 11:20pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850 "2024-09-25T23:20:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skittlesaersuper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skittlesaersuper/32/17209_2.png) [@Skittlesaersuper](https://forum.makecode.com/u/Skittlesaersuper)\
**Post date:** [September 25, 2024, 11:20pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/1 "2024-09-25T23:20:14Z")

</div>

I have an announcement. I’m trying to get _really_ good at coding. I already have most of the knowledge I need, so, I’m going to make this game as a challenge for myself _and_ a project to keep me sane cuz I get REALLY bored. The game I will make is going to have a certain feature. The main attraction. The game I’m going to create will have an attempt at having a **Save File Code** that players can insert to get their progress back when they re-visit. Idc if it’s already been done or if someone thinks that I won’t be able to do it, I’m gonna try anyway. I’ll keep you updated!

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [September 26, 2024, 1:31pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/2 "2024-09-26T13:31:03Z")

</div>

It’s super easy just use the settings extension

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [September 26, 2024, 1:41pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/3 "2024-09-26T13:41:03Z")

</div>

If you want your game to save, definitely check out the settings extension! Just click the extensions button, located below the other categories of blocks and it will open the extensions menu, where you should be able to scroll until you find the settings extension. Import that and it will add a new category that lets you save data in the game and retrieve it.

Extensions are also very helpful in other ways, which I would encourage you to check out in the future!

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [September 26, 2024, 4:19pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/4 "2024-09-26T16:19:38Z")

</div>

I feel like the settings extension isn’t what OP is trying to replicate here…more like a save file in the form of an input code. Theoretically, this would allow you to put the code into a different console, say one in the editor vs one on physical hardware, and still get the same outcome: returning to where you left off. Yes, you could use the settings extension to save this code locally, but then you could also have an option to enter another code and then maybe an export code option. The main technical problems I see here will be the following:

1. The type of game. If you want to save a whole 2d version of, say, and Minecraft like game, the code would be super long, but saving position in a platformer would be simple.
2. cheating. Are you going to try to obfuscate the code so people can’t easily figure out how to input fake codes or are you not gonna bother?
3. like… uhh… are you gonna try to re-invent the wheel, so to speak, which is what I would do if I were trying to learn! If so… uhh goodluck! It’s definitely possible, just not super easy, unless the code is just the coordinates you spawn at which would be easy I guess.

---

<div class="post-metadata">

**Author:** ![Skittlesaersuper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skittlesaersuper/32/17209_2.png) [@Skittlesaersuper](https://forum.makecode.com/u/Skittlesaersuper)\
**Post date:** [September 26, 2024, 4:19pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/5 "2024-09-26T16:19:45Z")

</div>

😑 Oh.

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [September 26, 2024, 4:43pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/6 "2024-09-26T16:43:41Z")

</div>

There’s even already an extension for passwords!

> [@Password save extension (work in progress)](https://forum.makecode.com/t/password-save-extension-work-in-progress/5819):
>
> After seeing [Encryption for progress](https://forum.makecode.com/t/encryption-for-progress/5731), I got interested in what a password save system extension might look like. Here’s a work in progress start to one possible solution: If you’re at all interested in this, you probably want to open the blocks editor; here’s a direct link: [https://arcade.makecode.com/#pub:github:jacobcarpenter/pxt-password-save](https://arcade.makecode.com/#pub:github:jacobcarpenter/pxt-password-save). The extension works like this: First you define a save format: Here we are creating one that can store…

---

<div class="post-metadata">

**Author:** ![Skittlesaersuper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skittlesaersuper/32/17209_2.png) [@Skittlesaersuper](https://forum.makecode.com/u/Skittlesaersuper)\
**Post date:** [September 26, 2024, 9:27pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/7 "2024-09-26T21:27:13Z")

</div>

I forgot about them for a bit…

---

<div class="post-metadata">

**Author:** ![Skittlesaersuper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skittlesaersuper/32/17209_2.png) [@Skittlesaersuper](https://forum.makecode.com/u/Skittlesaersuper)\
**Post date:** [September 26, 2024, 10:50pm UTC](https://forum.makecode.com/t/my-little-game-experiment-challenge/30850/8 "2024-09-26T22:50:13Z")

</div>

Super Impressive 😁
