Discuss Scratch

tofu10888
Scratcher
3 posts

Username blocks

So i want to make a save thing for people, if someone plays my game Flyer space edition it will save to everyone, i want it to save for only that one person. can someone please help meh
deck26
Scratcher
1000+ posts

Username blocks

If you want to use cloud data you have to store the username along with the data which means encoding the username to a string of digits and managing the data properly. A save code is easier but if you want to use the cloud see the wiki page on Global High Scores.
TheAnomalousPseudo
Scratcher
1000+ posts

Username blocks

Unless I am mistaken, you can only have 10 users' games saved at a time.
Oumuamua
Scratcher
1000+ posts

Username blocks

N

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
Not really, it depends of the amount of data per user to save. You can have only ten cloud variables in a project.
tofu10888
Scratcher
3 posts

Username blocks

deck26 wrote:

If you want to use cloud data you have to store the username along with the data which means encoding the username to a string of digits and managing the data properly. A save code is easier but if you want to use the cloud see the wiki page on Global High Scores.
well, for this how would i make a save code???
tofu10888
Scratcher
3 posts

Username blocks

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
i do not think this is the place for memes, like discord N O M E M E S I N G E N E R A L

Last edited by tofu10888 (May 6, 2021 19:42:05)

TheAnomalousPseudo
Scratcher
1000+ posts

Username blocks

tofu10888 wrote:

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
i do not think this is the place for memes, like discord N O M E M E S I N G E N E R A L
How is it a meme?
SpinningCube
Scratcher
100+ posts

Username blocks

tofu10888 wrote:

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
i do not think this is the place for memes, like discord N O M E M E S I N G E N E R A L
That's their signature, which appears below every post they make, not what they actually said in this topic.

(I'm assuming that's what you're looking at)


A save code is a piece of text that contains the save data of the user. When you want to save, give the user the save code (via a shown list because that's the only place they can interact with it), and it is their responsibility to copy and paste that somewhere for safekeeping, so they can paste it in the project next time they want to play.

Last edited by SpinningCube (May 6, 2021 20:31:27)

dragoblade2019
Scratcher
34 posts

Username blocks

We are making a Mario Kart game there is a 3d engine for driving, but we don't know how to make computers (the opponent you race against) in the engine we've tried multiple times but can't figure it out!

If anyone can help us with this that would be AMAZING and i'll credit you in any way i can!
The project is my main page!

Last edited by dragoblade2019 (May 6, 2021 20:39:38)

han614698
Scratcher
1000+ posts

Username blocks

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
Yes, you're right if you're using cloud vars, but you can and should have a list containing the values; for the list, you'll have to have the code

as if you add it to the list manually on the stage, (by clicking ‘+’), it won't update itself.
TheAnomalousPseudo
Scratcher
1000+ posts

Username blocks

han614698 wrote:

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
Yes, you're right if you're using cloud vars, but you can and should have a list containing the values; for the list, you'll have to have the code

as if you add it to the list manually on the stage, (by clicking ‘+’), it won't update itself.
But you can't access those values form the list over the cloud.
TheAnomalousPseudo
Scratcher
1000+ posts

Username blocks

dragoblade2019 wrote:

We are making a Mario Kart game there is a 3d engine for driving, but we don't know how to make computers (the opponent you race against) in the engine we've tried multiple times but can't figure it out!

If anyone can help us with this that would be AMAZING and i'll credit you in any way i can!
The project is my main page!
Please don't hijack others' topics. Also don't advertise.
Yusei-Fudo
Scratcher
1000+ posts

Username blocks

han614698 wrote:

TheAnomalousPseudo wrote:

Unless I am mistaken, you can only have 10 users' games saved at a time.
Yes, you're right if you're using cloud vars, but you can and should have a list containing the values; for the list, you'll have to have the code

as if you add it to the list manually on the stage, (by clicking ‘+’), it won't update itself.

2 Setbacks:
1. This data will be completely be erased
2. Others can't access that list.

TheAnomalousPseudo wrote:

dragoblade2019 wrote:

We are making a Mario Kart game there is a 3d engine for driving, but we don't know how to make computers (the opponent you race against) in the engine we've tried multiple times but can't figure it out!

If anyone can help us with this that would be AMAZING and i'll credit you in any way i can!
The project is my main page!
Please don't hijack others' topics. Also don't advertise.

Very much agreed.
-Qlec-
Scratcher
100+ posts

Username blocks

something I made a while ago that might help:
https://llk.github.io/scratch-gui/master/#526820415
I'm not sure if everything works, tell me if it doesn't

Last edited by -Qlec- (May 6, 2021 23:40:39)

deck26
Scratcher
1000+ posts

Username blocks

tofu10888 wrote:

deck26 wrote:

If you want to use cloud data you have to store the username along with the data which means encoding the username to a string of digits and managing the data properly. A save code is easier but if you want to use the cloud see the wiki page on Global High Scores.
well, for this how would i make a save code???
All you need for a save code is to make sure you include all the data you need in an unambiguous way so it can be decoded. So your starting point for a save code or a cloud system is to work out what information you need to save.

Last edited by deck26 (May 7, 2021 07:44:57)

Powered by DjangoBB