My account (that is a spare one) has a bunch of tutorials, and I am pretty sure one of them is saving
Last edited by Bluestribute (2008-06-30 19:16:46)
Offline
Enirahtak wrote:
For my game, Mimoto, I would like to create a function that would allow players to save their progress and come back to it later. I have no idea how to do this. Please help!
I'm a big fan of bluestripe but... was that the answer you were looking for Enirahtak? I thought you were asking how to save a game, quit your game and then how to reload the saved situation when you go back to it. Is this right?
Offline
Enirahtak wrote:
For my game, Mimoto, I would like to create a function that would allow players to save their progress and come back to it later. I have no idea how to do this. Please help!
Scratch doesn't really have the ability to save the state of a game. What you can do, is give the player a "Password" that is essentially the state of the game (level, items carried, etc.) and then build a mechanism into the game that allows the player to enter the password and restore the state of the game. I know I have seen a project that demonstrated this...try searching on Password.
Offline
If you just want it to be available to offline players, you can do something like this:
- use bluestripe suggestion to save the values
- inform the user in the instructions that they have to click "save" before quitting. this will also store on the .sb file the values of the variables
- under the green flag hat reload values using bluestripe suggestion
Offline
I agree with Paddle2See. Since scratch doesn't have consistent variables (that means that variables are set to zero every time you view a project) you can't really have a save loading feature.
Offline
s_federici wrote:
Enirahtak wrote:
For my game, Mimoto, I would like to create a function that would allow players to save their progress and come back to it later. I have no idea how to do this. Please help!
I'm a big fan of bluestripe but... was that the answer you were looking for Enirahtak? I thought you were asking how to save a game, quit your game and then how to reload the saved situation when you go back to it. Is this right?
Your a big fan of me? Awesome! I'm feeling more loved. And yes, that is one way. The only other way is passwords. I know someone made a really long way to do it. Don't know where though... In one of those tutorial galleries
Offline
It is, but-oh wait.
s_federici wrote:
Enirahtak wrote:
For my game, Mimoto, I would like to create a function that would allow players to save their progress and come back to it later. I have no idea how to do this. Please help!
I'm a big fan of bluestripe but... was that the answer you were looking for Enirahtak? I thought you were asking how to save a game, quit your game and then how to reload the saved situation when you go back to it. Is this right?
Offline
If you were looking for something that would load codes I made a "string" project the other day. For instance if you gave someone the word "dog" at the end of a level or segment of your project, when they came back they could type it into it and this project could read that the word "dog" was typed in and take them to the appropriate spot. Still it would probably only be a use to you if you wanted to use words instead of numbers. Here it is anyway: http://scratch.mit.edu/projects/shadow_7283/202687
Last edited by shadow_7283 (2008-07-02 15:55:32)
Offline
There's one on saving games in here (there should be ) : http://scratch.mit.edu/galleries/view/22696
(My tutorial gallery.)
Offline