Pages: 1 2
Topic closed
Thomas96 wrote:
vortex19 wrote:
I think this is the script you're looking for:
<when I receive[ save game
delete "all" on list "save list"
add <x position> to "save list"
add <y position> to "save list"
add <{ Score }> to "save list"
etc.
And when you load the game...
<when I receive[ load game
<set x to( item 1 on "save list" )>
<set y to( item 2 on "save list" )>
<set{ Score }to( item 3 on "save list" )>
etc.Scratchthatguys wrote:
<when green flag clicked>
<forever>
<if><< mouse touching save <and>and mouse down
<set{savedx }to(<x position>
<set{savedy }to( <y position>
<set{savedd }to( <direction>
<stop script> >>
is my save script, and
<when green flag clicked>
<forever>
<go to xsavedx )y
savedy
<point in direction( savedd
<stop script>
was my load script.
However, this only works offline and if you save the project after you activate the save script.f the project was to be compiled to an .exe file would the permanent saving work?
I assume if it was an EXE you could add extra scripting to add to the Scratch.changes file
Offline
im making an rpg and im using an easy save feature. the save thing on the scratch program!! All you have to do is download the game and then play, and save it when your done! just dont make it reset the variables at the start, so just keep saving b4 testing
Offline
Topic closed
Pages: 1 2