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

#1 2012-01-22 13:32:02

DanCstudio
Scratcher
Registered: 2011-10-05
Posts: 12

How to save a game?

I've got a few ideas for scripts that save games, but I can't figure it at the moment.

What I'm trying to save is a skill in a variable.
I made an account called 'Test1' for the following script:

firstly, when the game starts, a script asks for a user.
I give out usernames to use.
User = Test1

How do I save  yikes


????






Help would be appreciated :p

Last edited by DanCstudio (2012-01-22 13:55:40)

Offline

 

#2 2012-01-22 14:08:01

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: How to save a game?

I've got an auto-save thing with multiple save files, i'll upload it for you! Just gimme a minute.
Here! Just so you know, there's an unfinished script that I must tell you about. Where it says "when I receive load file 1" as one of the scripts under the sprite "FADER", you can see a few things saying "If mode = 1 then broadcast intro".

Under it, there's another script that says "when I receive load file 2" but it's blank under it. In the final version, that would have the EXACT SAME SCRIPTS as "load file 1", they just need dragging down.

Last edited by Borrego6165 (2012-01-22 14:13:54)


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#3 2012-01-22 16:44:05

DanCstudio
Scratcher
Registered: 2011-10-05
Posts: 12

Re: How to save a game?

Thanks alot (:

Offline

 

Board footer