Discuss Scratch

stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

How do you make your game so that players can save it and continue it later? I'm having a ton of trouble with this.

-stickfiguregames01
drmcw
Scratcher
1000+ posts

Please Help!!!! Question on How to Save!

Look here

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
lafoudre
Scratcher
100+ posts

Please Help!!!! Question on How to Save!

You should think as follows:
1) how will I “slice” the game ?
For instance, in some game when you reached some step, then you can come back later to that step.
Som platformers uses “sign posts”, some shooting games with levels decides that you can come back at the beginning of your last level, …
2) you have to decide what information (variables values) is necessary to restart the step (signpost, level, …)
3) Just save/restore that information using cloud variables.
drmcw
Scratcher
1000+ posts

Please Help!!!! Question on How to Save!

lafoudre wrote:

3) Just save/restore that information using cloud variables.
Easier said than done if you want to save data per user.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

Ok, thanks guys.

-stickfiguregames01
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

I think I'll try to encode the data to a variable and have people copy the list. That will probably work best for the game I'm making. Thanks for the help!

-stickfiguregames01
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

Well actually, I might try the import export list thing first. Does the list appear per user, or is it universal, and if it is per user, does it reset at the start of the game without being told to? Just wondering because I need some kind of save strategy that works per user, but I don't really know how to encode data.

-stickfiguregames01
drmcw
Scratcher
1000+ posts

Please Help!!!! Question on How to Save!

stickfiguregames01 wrote:

Well actually, I might try the import export list thing first. Does the list appear per user, or is it universal, and if it is per user, does it reset at the start of the game without being told to? Just wondering because I need some kind of save strategy that works per user, but I don't really know how to encode data.
It will be per user as they will be saving a file locally to their disk drive which can then be re-uploaded so they could have as many save games as they like. Try it. Just make a list, add some values to it then right click and choose export. Close the project. Re-open and then right click and import. Maybe not too user friendly but does the job!

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

Ok, thanks!

-stickfiguregames01
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

Do users have to go inside the project to import the lists? I tried doing it while I was just playing around with a test project, but it wouldn't let me export or import anything. It does work from the inside though. (Sorry for all the questions….I'm new )

-stickfiguregames01
drmcw
Scratcher
1000+ posts

Please Help!!!! Question on How to Save!

Hmm. Hadn't thought of that. Looks like it is only useable in the editor. That is a pain. Looks like you'll have to learn to encode/decode then. Sorry about that.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
stickfiguregames01
Scratcher
18 posts

Please Help!!!! Question on How to Save!

That's ok. Thanks for the help though!

-stickfiguregames01

Powered by DjangoBB