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

#1 2012-01-22 21:16:15

hungergamesfanatic
Scratcher
Registered: 2012-01-19
Posts: 1000+

Question!

Can you like make a save button to save your progress if your making a game????


http://media.tumblr.com/ef092817bb0546c54787e8fa6932bd1f/tumblr_inline_mjvk9eXdM61qz4rgp.gif

Offline

 

#2 2012-01-22 21:38:49

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Question!

hungergamesfanatic wrote:

Can you like make a save button to save your progress if your making a game????

No.
Scratch 1.4 has no way to retain data between sessions except with the possibility of using python to store data in a database via remote sensor connections.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#3 2012-01-22 21:52:12

hungergamesfanatic
Scratcher
Registered: 2012-01-19
Posts: 1000+

Re: Question!

Darn  sad


http://media.tumblr.com/ef092817bb0546c54787e8fa6932bd1f/tumblr_inline_mjvk9eXdM61qz4rgp.gif

Offline

 

#4 2012-01-23 05:20:08

TheDogIslandFan
Scratcher
Registered: 2012-01-08
Posts: 100+

Re: Question!

Scratch has not have the feature to save progess yet, but maybe in a later version.


http://www.eggcave.com/egg/787454.png

Offline

 

#5 2012-01-23 07:53:14

catfan8
Scratcher
Registered: 2008-07-23
Posts: 500+

Re: Question!

hungergamesfanatic wrote:

Can you like make a save button to save your progress if your making a game????

Quite possible actually, It requires having the person download the project though or just never changing the page. Anyway you would need to make it so the variables reset the very first time the game loads and never again reset.


http://mag.racked.eu/cimage/i9002/Sword-In-Back+get%21/HEROBRINE+Y+U+NO+EXIST/mca.png

Offline

 

#6 2012-01-23 08:16:33

mewkid
Scratcher
Registered: 2010-08-16
Posts: 100+

Re: Question!

There is probably a way, but it would require a huge amount of scripting and variable work. There is a known way to save accounts, but not their content /-o0

Offline

 

#7 2012-01-23 10:36:48

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Question!

It's not possible in the current version, I'm afraid.


Why

Offline

 

#8 2012-01-23 13:08:41

horsenkat
Scratcher
Registered: 2010-09-25
Posts: 23

Re: Question!

You could try to create a list, for each feature of the game, put it with, say, numbers, and use that as a kind of 'key' to levels. You'll find that in some games, and it is possible here. That would be difficult, though.


http://29.media.tumblr.com/tumblr_l8ewen1qwk1qzo7k7o1_500.gif

Offline

 

#9 2012-01-23 14:18:52

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Question!

You can't. However, it is entirely possible to code a script that turns the various variables of your progress (such as health, position, etc depending on your need) and output them as a variable. Then you just have to tell the user to write them down, and ask the user to feed them into the game the next time they play it!

It's pretty complicated though, and the more data you need to save the more complicated it becomes. Good luck!

Offline

 

#10 2012-01-23 15:08:50

CatPerson
Scratcher
Registered: 2011-12-17
Posts: 1000+

Re: Question!

good question but Im afraid the answer might be no  hmm   BUT it depends on how you mean it  smile   If you go away from the GAME PART but not away from the project itself then you could make a puase button then in the pause menu you could make a button saying "go to main menu" making the you go to the main menu but the other sprite during the game part not be changed. so in the main menu you could add a Resume game button. Hope that helps!!! Tell me if you want any more info on it or if you dont get it   big_smile


http://nyopoliticker.files.wordpress.com/2012/02/in_dog_we_trust_rusty.jpghttps://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSrxH2RAmte9adghivuoOhgklIlUcZUFuCAA0wFufFq-NWyZWg5http://www.buttonsonline.com/2012/obama/BO-rallysign-104.gif

Offline

 

#11 2012-01-23 15:20:33

hungergamesfanatic
Scratcher
Registered: 2012-01-19
Posts: 1000+

Re: Question!

Could you make a level select?


http://media.tumblr.com/ef092817bb0546c54787e8fa6932bd1f/tumblr_inline_mjvk9eXdM61qz4rgp.gif

Offline

 

#12 2012-01-23 15:48:11

CatPerson
Scratcher
Registered: 2011-12-17
Posts: 1000+

Re: Question!

hungergamesfanatic wrote:

Could you make a level select?

Ya if you make this:
__________________________
|if sprite (whateves) clicked|
___________________________
|Broadcast: < level (whatevs)|

Hope this helped!!!   big_smile


http://nyopoliticker.files.wordpress.com/2012/02/in_dog_we_trust_rusty.jpghttps://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSrxH2RAmte9adghivuoOhgklIlUcZUFuCAA0wFufFq-NWyZWg5http://www.buttonsonline.com/2012/obama/BO-rallysign-104.gif

Offline

 

#13 2012-01-23 17:14:56

Victoria393
Scratcher
Registered: 2011-12-30
Posts: 100+

Re: Question!

yeah you just hit the "save" button in file at the top of the page and give it a name and open it from the list of projects  big_smile  well nobody else said that so maybe we're taling about different things  smile


CHEESE and pickles

Offline

 

#14 2012-01-23 22:11:51

mr_fish_fish
Scratcher
Registered: 2009-11-12
Posts: 52

Re: Question!

Actually, if you store things in variables and/or lists, and don't tell them to reset when the green flag is clicked, it is possible to create a save game if the page is not closed out or refreshed. For example, if one was making the very boring game of pressing the space bar and having the project count up, they could have a save game button where it stores the number in a variable. So, if you press the green flag, and press a load game button, the project could load from the number that you left off at. But, if, for any reason, the page is reloaded, all of the information is lost because when the page loads, the lists and variables are all reset.

thesuperguidegames did this in his project here

I hope this helps!

mr_fish_fish

Last edited by mr_fish_fish (2012-01-25 21:08:49)


/\/\ ® _ |= 1 § |-| _ |= 1 § |-|

Offline

 

#15 2012-01-23 23:14:58

hungergamesfanatic
Scratcher
Registered: 2012-01-19
Posts: 1000+

Re: Question!

Victoria393 wrote:

yeah you just hit the "save" button in file at the top of the page and give it a name and open it from the list of projects  big_smile  well nobody else said that so maybe we're taling about different things  smile

lol
Thanks everybody!


http://media.tumblr.com/ef092817bb0546c54787e8fa6932bd1f/tumblr_inline_mjvk9eXdM61qz4rgp.gif

Offline

 

Board footer