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

#1 2013-01-08 10:01:06

Megmug
New Scratcher
Registered: 2012-12-22
Posts: 3

Need a Savegame script

Hello
i have a really good idea for a awsome game but i first need
to learn how i can make a savegame
please answer
and sorry for my bad english

Offline

 

#2 2013-01-08 10:12:27

BLU_Spy
Scratcher
Registered: 2012-01-05
Posts: 1000+

Re: Need a Savegame script

Sorry, but there's no way to do that in 1.4. When you refresh the page, the project and the variables are also refreshed.  hmm

You can still make a code for each level, but everyone could see the codes by downloading the project.

I guess you'll have to wait until the Scratch Team releases 2.0...


OFF-TOPIC: Your English isn't bad at all!  wink

Last edited by BLU_Spy (2013-01-08 10:13:31)


I HAVE SWITCHED ACCOUNTS! My new username is NoxSpooth.

Offline

 

#3 2013-01-08 10:49:30

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Need a Savegame script

There is a way to save the game, complicated though it may be. When the page is refreshed it will no longer be there, but you can write in the project notes to download before playing if they wish to save. For a basic idea of how to save the game, download Borrego6165's Generation 4013 Platinum.

Last edited by sonicfan12p (2013-01-08 10:50:30)


Why are the secret organizations getting all the attention?  mad

Offline

 

#4 2013-01-08 10:53:29

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Need a Savegame script

You have to wait until Scratch 2.0 when you have thr User Id block  smile
http://wiki.scratch.mit.edu/wiki/User_ID_(block)


http://blocks.scratchr.org/API.php?user=KrIsMa&action=onlineStatus&online=http://i49.tinypic.com/2pzic0m.png&offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#5 2013-01-08 11:07:17

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Need a Savegame script

The best way would be to have codes for each level (like old video games did). That should be pretty simple. I don't think it's much of a problem if people download the project to see the codes, honestly.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#6 2013-01-08 12:10:30

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Need a Savegame script

As I've already said, it can be done. The codes idea is a way to do it online, and should be considered though. That would be the closest to online saving you could get before 2.0 probably.


Why are the secret organizations getting all the attention?  mad

Offline

 

#7 2013-01-08 12:41:50

GrateGames
Scratcher
Registered: 2012-12-30
Posts: 15

Re: Need a Savegame script

I know how first of all you don't need a save button! Don't make a script of such of stage

[Scratchblocks]
when gf clicked
set [Score v] to [0]
[/scratchblocks

you leave that and make a restart data button! if clicked:

[Scratchblocks]
when Data Restart clicked
set [score v] to [0]
[/scratchblocks]

you do that!

I hope this helped alot!

Offline

 

#8 2013-01-08 14:50:32

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Need a Savegame script

GrateGames wrote:

I know how first of all you don't need a save button! Don't make a script of such of stage

when gf clicked
set [Score v] to [0]
you leave that and make a restart data button! if clicked:

when [Data Restart] clicked
set [score v] to [0]
you do that!

I hope this helped alot!

A simple approach, but it may work. Depends on what you need.

Last edited by sonicfan12p (2013-01-08 14:51:10)


Why are the secret organizations getting all the attention?  mad

Offline

 

#9 2013-01-08 15:37:02

Megmug
New Scratcher
Registered: 2012-12-22
Posts: 3

Re: Need a Savegame script

Thank you all very much
i think i can make it
but i will wait on scratch 2.0
thanks to all of you
ps when is scratch 2.0 released??

Offline

 

#10 2013-01-08 22:13:37

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Need a Savegame script

The beta is scheduled to be released to the public on January 28th I believe.


Why are the secret organizations getting all the attention?  mad

Offline

 

#11 2013-01-10 02:01:19

Aditya007
Scratcher
Registered: 2012-11-27
Posts: 63

Re: Need a Savegame script

Wait till 2.0, It will release on this month end


Wolf_OS!!!  smile  Check My Stuff  tongue  Need Help?  Currently, I am http://blocks.scratchr.org/API.php?user=Aditya007&action=onlineStatus&type=square
http://i49.tinypic.com/15gy1j6.jpg

Offline

 

#12 2013-01-10 15:20:42

Megmug
New Scratcher
Registered: 2012-12-22
Posts: 3

Re: Need a Savegame script

OK thanks

Offline

 

#13 2013-01-13 01:21:44

Programmer_112
Scratcher
Registered: 2012-02-17
Posts: 100+

Re: Need a Savegame script

Or you could,  for a simple game, make a string out of the characters stats and have the game read that.  I can't elaborate much, but if you need I might be able to tomorrow.


http://i49.tinypic.com/rk60py.png

Offline

 

#14 2013-01-13 02:33:52

Auto007
Scratcher
Registered: 2012-11-25
Posts: 100+

Re: Need a Savegame script

Wait till next  version of scratch is released .
Or u can do like in upper comments .
:-D :-)) :-) :-> :-] :-l :-[ :< :-( :-(( :-C XD

Offline

 

Board footer