How do you make save buttons? I really need one for my game. Thanks.
http://www.neopets.com/refer.phtml?username=dan_84_dan Click there for fun stuff and to get me free stuff!Offline
you could make a lot of variables for positions of different sprites and set them to the real positions of the sprites if you pressed a button (another sprite).
For instance:
[blocks]
<when[ sprite1 ]clicked>
<broadcast[ save
[/blocks]
and for another sprite:
[blocks]
<when I receive[ save
<set{ savex }to( <x position>
<set{ savey }to( <y position>
<end>
[/blocks]
Offline
Thanks. That will be alot of help
http://www.neopets.com/refer.phtml?username=dan_84_dan Click there for fun stuff and to get me free stuff!Offline
There is the save button in the scratch program you can use. But online there is no way.
Offline
ikuehne wrote:
you could make a lot of variables for positions of different sprites and set them to the real positions of the sprites if you pressed a button (another sprite).
For instance:
[blocks]
<when[ sprite1 ]clicked>
<broadcast[ save
[/blocks]
and for another sprite:
[blocks]
<when I receive[ save
<set{ savex }to( <x position>
<set{ savey }to( <y position>
<end>
[/blocks]
I remember having a old game, which was never published. It used a save system which used lists, each item for a stat (Ex: ScrollX, ScrollY, Health, XP, Color Effect [my game used it for the custom character creation], etc...)
Offline