How to make progress saving code?

Hello forumers!

Long, extensive question that I originally have asked

What’s up! Good morning/evening/afternoon/night/SO LATE YOU SHOULD BE SLEEPING RIGHT NOW! I have a question for you guys… I will warn you that I did NOT search before I posted (GASP!). But only because I did NOT know how to phrase this question…

So, my question! Right… where did I put it…

Ahah! My Gimkit map is… QUITE large. And it can be VERY time consuming to re-do the ENTIRE GOSH DARN THING just because your Wi-Fi lagged, the power went out, or your half an hour of free time at school ran out… . Now, I already know that you can’t sync things to the Cloud outside of Gimkit Creative.

But

There may be a way for players to pick up after a certain point.

I want there to be a system, where once you activate a checkpoint, a pop-up appears (which I already know how to do). That popup will give you a sequence of three numbers. Now, the complicated part…

Once you spawn into the game, I have already made a room. But, how can I make it so that, once you enter those three numbers in, you can start the game at the checkpoint?

I already know how to increase/decrease numbers (via buttons, if you wire one to a counter you can figure it out lol). But, this process may need block code and properties, which is enough to give me nightmares… so I’m gonna leave you talented forumers to it!

Brief summary if you don't feel like reading a bunch lolz

I have a system where, once you activte a checkpoint, a popup appears which has a three digit code. Now, I already have a system with buttons and counters to enter in that code. But, how can I make it so, when you enter (and submit) the code, it will enable you to start at the original checkpoint where you got the code in the first place?

Warning, it is VERY LATE (11:00 p.m. for me), and I will only be on for half an hour… then it’s night night for me. So, if you have questions, please ask them promptly before I go to bed…


Here’s my room, obviously I don’t have anything wired to the submit code button because… then I wouldn’t need this topic lol

Have a counter so that when all the buttons to submit the code get pressed it equals 3, the tqrget, it will transmit on a channel activate a checkpoint and respawn the player.

Slight tweak to Seamless’s idea: You can use a teleporter instead of respawning them.

Yes, but the problem is that there are mutiple codes they can enter, to respawn at different points in the map. THAT’S what I need help with.

1 Like

What if you used block code? with if/then loops set to have as many else if loops as you need. Make it so that it checks the code you used, and if it matches the first checkpoint’s code, it teleports you there, but if it doesn’t match, then it checks the next one, and so on and so forth, and at the end of the code, if it doesn’t match anything, then have a notification pop up and tell the player to enter a valid code. [1]


  1. don’t ask me how to make it though, I’m bad at block code ↩︎

Do you want each user to have a personal code?

No, the code’ll be the same. Each player having a personal code (I think) would either be impossible, or take up WAY too much memory.

Are these what you’re looking for?

If not, you could always have a level selector at the start of the game. Yes, people could skip levels, but it’s something.

Thanks! I will look at these guides and get back to you!!

1 Like

My map’s at 91% and I’m not done (lmao), but just warning you it might take some time…

–edit–

Now, my map is VERY full of memory, and I don’t think I have enough of it to fit this system… though it IS what I was looking for. Thanks, BakedPotato! I appreciate all of your guys’s help, and although I regret this not being possible (due to memory), thanks anyways :slight_smile:

Have this block code run when the player enters the code:

codeNumber1 and so on are the properties each counter in your code entering system updates.
teleport1 and so on are the channels it will broadcast on when that teleporters code is entered.
It boradcasts on wrongCode if the code entered isn’t one of the valid codes.
Each else if should check if the code entered is one of the codes your save point gives.
You can add more else ifs for each additional save point.

This should be very memory efficient, as it’s unlikely you’ll need more than one block for all the save points in your game. You could use checkers, but that would likely end up being less memory efficient as you’d need a checker for each valid code and checkers are 40 memory each.

Hope this is what you were looking for!

Read the first line of my bio!

Yep!

Mhm!

1 Like

OMG kid… lemme try!!

lol R.I.P the past code I tried to do for half an hour

–edit—
@some_kid (sorry if the ping was unapproved), I’m assuming these counters should update each property respectively?


(the buttons increase & decrease the respective counters)

1 Like

Just checking to make sure I understand this (Don’t wanna lose another half an hour lol), my code for the first area is 138. Does this mean that on the first if block, I put 138?

thank you :slight_smile: (I saw the like and assume I’m correct lol)

–edit—

For some reason it isn’t working… here’s what I have so far


The popup opens once receiving on the channel popup1

SaveCode1 activates the checkpoint and respawns you. But when I enter in the code, it doesn’t do any of that. No popup comes up, and it respawn you, but doesn’t activate the checkpoint… any idea on what this could be @some_kid?

1 Like

When does the trigger, well, um, trigger?

Lol

It should trigger when you hit the submit code button.

You’re all good! Glad to have helped!

oh… WAIT THAT WAS SUCH A STUPID MISTAKE LMAO IDK IF IT EVEN TRIGGERS :ROFL

That’s what was missing!! I request a banishment am i bit brain dead today (if you couldn’t tell lol).

2 Likes

A couple extra things:
You can save a bunch of extra block space by changing the broadcast to Broadcast Message On Channel: "SaveCode1,Popup1" (no space in between) for example. By putting commas between 2 channel names, you can have anything broadcast or receive on multiple channels. This trick actually works almost everywhere, and is super useful!

If you run out of block space in that first trigger, have the else instead broadcast to a second trigger with the same blocks as the first. Then, replace the codes and channels to match the additional codes!

1 Like

Ok, great! Do I credit you as some_kid, or would you prefer something else (or to not be credited at all)?

1 Like

Just some_kid is fine! :)

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.