This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-19 12:48:34

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Saving your game

Okay this is a very new topic to me, I am just wondering, you know in all those professional games like Super Mario Galaxy and those? You know how the save and when you play again it loads from the certain point you saved? How do you do that on Scratch? I am assuming it is using a list and a variable. I think I might know how to but please explain how you do it.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#2 2011-08-19 13:05:48

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Saving your game

Yes, most people have all the needed variables saved in a list when you click a save button, then restored to the variables from that list when a load button is pressed. Just remember that the user has to save the Scratch project after saving in-game if they want their data to be preserved between sessions.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-08-19 13:35:50

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Saving your game

I know 08jackt has made stuff with save buttons before. Look at his.... I forget what it is called... pokemon like game.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#4 2011-08-19 13:43:13

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Re: Saving your game

Exactly what Harakou said, and also^^^^ 08jackt's Fable Quest.


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#5 2011-08-19 13:45:31

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Saving your game

jcpopp wrote:

Exactly what Harakou said, and also^^^^ 08jackt's Fable Quest.

Oh, there we go. Thanks


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#6 2011-08-19 13:48:50

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Re: Saving your game

JJROCKER wrote:

jcpopp wrote:

Exactly what Harakou said, and also^^^^ 08jackt's Fable Quest.

Oh, there we go. Thanks

Your welcome! I hope your problem is solved, thescratch3!  smile


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#7 2011-08-19 13:53:59

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Saving your game

Thanks jcpopp I will go check out 08jackt's now.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#8 2011-08-19 14:16:35

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Re: Saving your game

Thescratch3 wrote:

Thanks jcpopp I will go check out 08jackt's now.

Your welcome!!!  big_smile


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#9 2011-08-20 01:24:10

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Saving your game

Can somebody explain how to allow a person save a project, and when they click a project and load the file they saved it will open their position they saved at? Like normal saving in Super Mario galaxy or Super Smash Bros Brawl?


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

Board footer