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

#1 2009-02-06 20:05:39

legomaster64
Scratcher
Registered: 2007-10-21
Posts: 29

How do you make a game that saves?

I am working on a remix of Stick Assassin and I wanted to make it save? How do I do this?


The guitarist of the band Social Issue

Offline

 

#2 2009-02-06 20:25:31

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: How do you make a game that saves?

You can't.  sad
There's ways to make passwords to save though, but I'm not sure how. You could probably find something by searching.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2009-02-07 12:39:23

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

Re: How do you make a game that saves?

You Use The Lists To Save The Area, Health. All That Stuff.. If You Want I Can Make The Save For You  smile

Offline

 

#4 2009-02-07 13:13:12

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: How do you make a game that saves?

Lists can be used to some extent, or save codes, but neither is a terribly good solution.

What annoys me about the lack of saving is how terribly simple it would be to implement... even just a plaintext list of variable contents would be a start (with XML being the ideal).

Offline

 

#5 2009-02-09 13:28:09

tdoog12345
Scratcher
Registered: 2009-02-09
Posts: 1

Re: How do you make a game that saves?

<turn cw(  )degrees>

Offline

 

#6 2009-02-09 17:11:21

47fg74
Scratcher
Registered: 2007-10-30
Posts: 100+

Re: How do you make a game that saves?

Maybe you can make it so that if you want to save you download the game and save it on the scratch program. when you come back and press the flag nothing resets but it activivates movement and that stuff


What emo means....
E is for emontional ruins everbodies day
M is for misrable people
O is for on the dark side... cause we have some fresh cookies

Offline

 

#7 2009-02-09 21:13:03

Metroidlegend
Scratcher
Registered: 2008-07-12
Posts: 91

Re: How do you make a game that saves?

My thinking is that there should be a sprite that saves what room the guys in, what enemies, where the enemies are, where the guy is, what health, e.t.c and then it will scramble the stuff into a random code. When you go back to the game, it will unscramble the code and put you back to your game. This solves the problem of the user being able to implement like 10000 health or something. I just dont know how you would do that.

Offline

 

#8 2009-02-10 01:40:46

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: How do you make a game that saves?

Metroidlegend wrote:

My thinking is that there should be a sprite that saves what room the guys in, what enemies, where the enemies are, where the guy is, what health, e.t.c and then it will scramble the stuff into a random code.

As I linked above, this is pretty much exactly what I've been working on lately. The code I'm currently using isn't exactly random, but it could certainly be tweaked to be less predictable. (I wanted to do it with alphanumerics, actually, but without string manipulation it's not really possible.)

Offline

 

#9 2009-02-19 21:53:27

Black_Icy_Ninja
Scratcher
Registered: 2009-02-19
Posts: 2

Re: How do you make a game that saves?

Yo

Offline

 

#10 2009-02-20 16:59:29

badboy11
Scratcher
Registered: 2009-02-20
Posts: 2

Re: How do you make a game that saves?

hi its Jake. What are you doin today dood.

Offline

 

#11 2009-02-20 17:00:57

badboy11
Scratcher
Registered: 2009-02-20
Posts: 2

Re: How do you make a game that saves?

Answer The Question!!!!!!!!!!!!

Offline

 

#12 2009-02-20 17:10:37

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

Re: How do you make a game that saves?

Spamming Is Not Aloud On This Website Please Make A "Spam" Topic in insperation and ideas and spam there thank-you.

Offline

 

#13 2009-02-20 17:21:45

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: How do you make a game that saves?

Magnie wrote:

Spamming Is Not Aloud On This Website Please Make A "Spam" Topic in insperation and ideas and spam there thank-you.

aloud: allowed


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#14 2009-02-20 17:23:09

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: How do you make a game that saves?

Black_Icy_Ninja wrote:

Yo

Please do not spam.


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#15 2009-02-20 17:27:02

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: How do you make a game that saves?

tdoog12345 wrote:

<turn cw(  )degrees>

badboy11 wrote:

hi its Jake. What are you doin today dood.

badboy11 wrote:

Answer The Question!!!!!!!!!!!!

Please do not spam. Spamming is very rude.
If you spam, read this:

Magnie wrote:

Spamming Is Not Aloud On This Website Please Make A "Spam" Topic in insperation and ideas and spam there thank-you.


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#16 2009-02-20 17:28:04

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: How do you make a game that saves?

Metroidlegend wrote:

My thinking is that there should be a sprite that saves what room the guys in, what enemies, where the enemies are, where the guy is, what health, e.t.c and then it will scramble the stuff into a random code. When you go back to the game, it will unscramble the code and put you back to your game. This solves the problem of the user being able to implement like 10000 health or something. I just dont know how you would do that.

Just raise the number in question to the 4th and then when you decipher the code take the sqrt of the sqrt.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#17 2009-02-23 22:10:53

CDDLW
Scratcher
Registered: 2007-12-15
Posts: 6

Re: How do you make a game that saves?

sorry but you can't  but you can make codes using lists that take you to levels you were previously at.


snow

Offline

 

#18 2009-02-24 13:23:34

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

Re: How do you make a game that saves?

alexpja wrote:

tdoog12345 wrote:

<turn cw(  )degrees>

badboy11 wrote:

hi its Jake. What are you doin today dood.

badboy11 wrote:

Answer The Question!!!!!!!!!!!!

Please do not spam. Spamming is very rude.
If you spam, read this:

Magnie wrote:

Spamming Is Not Aloud On This Website Please Make A "Spam" Topic in insperation and ideas and spam there thank-you.

You Could Have Just Fixed My Spelling Error In The Quote.  smile

Offline

 

Board footer