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

#1 2011-10-07 04:07:49

304147
New Scratcher
Registered: 2011-10-03
Posts: 1

Save/Load Function help

I'm currently working on a school project about basketball related. The only problem I have at this moment is saving/loading function on scratch. Since the project will be embedded into the school site, I will not be able to save its changes. For example, each individual team has a different set of scores. The scores are saved with a click of a button. When the browser is closed, however, re-entering the site will load the scores back to its previous amount. Is there a way that it can save within the website without the use of opening the scratch application? If so, please show.

I need an answer asap, it's urgent. Thanks!

Offline

 

#2 2011-10-07 10:56:39

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Save/Load Function help

304147 wrote:

I'm currently working on a school project about basketball related. The only problem I have at this moment is saving/loading function on scratch. Since the project will be embedded into the school site, I will not be able to save its changes. For example, each individual team has a different set of scores. The scores are saved with a click of a button. When the browser is closed, however, re-entering the site will load the scores back to its previous amount. Is there a way that it can save within the website without the use of opening the scratch application? If so, please show.

I need an answer asap, it's urgent. Thanks!

Sorry. That can't be done. The only way is to do it in SQL and PHP.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#3 2011-10-07 15:59:44

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Save/Load Function help

You can do that if you want to modify Java so it saves the data from the project and never removes the data ( unless done manually ). Though I am not sure how you would do that.

Offline

 

#4 2011-10-08 00:54:46

SheppardProductions
Scratcher
Registered: 2011-08-14
Posts: 100+

Re: Save/Load Function help

It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.

Offline

 

#5 2011-10-08 08:29:28

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Save/Load Function help

SheppardProductions wrote:

It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.

ahem. it got my pin wrong. it said it was 1234 when it was 2000.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#6 2011-10-08 08:31:48

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Save/Load Function help

well also, it only saves temporarily (whilst the project is still open in the browser) if you were to refresh the page, the results would dissappear.


http://i.imgur.com/zeIZW.png

Offline

 

#7 2011-10-08 18:00:36

SheppardProductions
Scratcher
Registered: 2011-08-14
Posts: 100+

Re: Save/Load Function help

Servine wrote:

SheppardProductions wrote:

It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.

ahem. it got my pin wrong. it said it was 1234 when it was 2000.

lol it gave you my pin. I entered 1234 as mine. maybe it doesn't work after all

Offline

 

#8 2011-10-09 13:24:46

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Save/Load Function help

boomp


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#9 2011-10-09 13:44:20

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Save/Load Function help

Servine wrote:

boomp

what do you hope to gain from bumping this? The answer is no, you can't or Yes, but with a LOT of work. What more do you need to know? If you really want to undertake it, learn java, come back, and write your own java player that supports saving.


http://i.imgur.com/zeIZW.png

Offline

 

Board footer