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

#1 2009-08-13 03:36:32

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

a lode blok

in the next scratch why dont you mack a save and a lode blok
that way you can play games and be abelt to stop playing then play wher you wher up to that wood be convent.  smile

Offline

 

#2 2009-08-13 04:55:05

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: a lode blok

Plenty of people do this. The trick is that you don't reset variables when you click the green flag. Take a look at Colkadome's games; there's plenty with continue options. When I say continue, I mean that there's a feature that lets you go to where you got up to.

The problem is that you have to download to save your progress. Sure, you can click the green flag online, but it won't save when you leave the page. Or refresh the page; that'll reset the game also.

Anyway, how would the Scratch Team make the blocks?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2009-08-13 09:40:07

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: a lode blok

Adding cookies?

Offline

 

#4 2009-08-15 05:02:40

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

i know thers a way to make save and load with out a auchel save and load block but i am a beginer and i have no idea how to*_*

Offline

 

#5 2009-08-15 08:36:15

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: a lode blok

Hm... What I would do is have the program that generated a code that tells how far you are in the game, then the next time you played, you type in the code and it starts from where you left off.

Offline

 

#6 2009-08-15 09:04:06

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: a lode blok

leon0 wrote:

in the next scratch why dont you mack a save and a lode blok
that way you can play games and be abelt to stop playing then play wher you wher up to that wood be convent.  smile

you spelt load and block wrong lol but good idea

Last edited by dav09 (2009-08-15 09:04:30)

Offline

 

#7 2009-08-16 00:07:16

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

sory

Offline

 

#8 2009-08-16 00:10:10

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

thats true you can do that but how will you redem your ponits and all the over stuf?

Offline

 

#9 2009-08-16 01:59:21

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: a lode blok

The-Whiz wrote:

Adding cookies?

Maybe... but would it lag the Scratch website? What I mean by this is that there are hundreds of thousands of projects on the Scratch website; if there were cookies for every project (not every project would need them, but it wouldn't be able to sense which ones), wouldn't it lag the Scratch website?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#10 2009-08-16 02:01:04

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: a lode blok

leon0 wrote:

thats true you can do that but how will you redem your ponits and all the over stuf?

What point thing? If you're talking about cookies, it wouldn't be that hard; people use cookies all the time.


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#11 2009-08-16 02:15:22

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: a lode blok

Jonathanpb wrote:

The-Whiz wrote:

Adding cookies?

Maybe... but would it lag the Scratch website? What I mean by this is that there are hundreds of thousands of projects on the Scratch website; if there were cookies for every project (not every project would need them, but it wouldn't be able to sense which ones), wouldn't it lag the Scratch website?

Why would it affect the website? Cookies are stored by the user's web browser.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#12 2009-08-16 03:14:18

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: a lode blok

The best way to do a save/load in scratch is by using a level code, I think. Level codes work online too.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#13 2009-08-16 03:21:44

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

I ment if you pick up items then how will you get them back.  like you buy something like a ring and its just a fainsh item and it dos nurfthing at all just a fanish item it has no perpos at all so how wood you get it back

Offline

 

#14 2009-08-16 03:24:48

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

JSO wrote:

The best way to do a save/load in scratch is by using a level code, I think. Level codes work online too.

whats a level code?            ?
                                     +_+

Offline

 

#15 2009-08-16 05:25:17

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: a lode blok

leon0 wrote:

JSO wrote:

The best way to do a save/load in scratch is by using a level code, I think. Level codes work online too.

whats a level code?            ?
                                     +_+

you type in a code and if it's correct you go to that level

Offline

 

#16 2009-08-16 05:37:29

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: a lode blok

Ok... How to do it.

Make a list with all your level codes in it, named 'level codes'. Just make them random. The list should have as many items as you have levels. Item 1 of the list is the level code for level 1, 2 for 2 etc.

This is a script you could use:

http://img29.imageshack.us/img29/7350/levelscript.gif

When the user entered a correct level code, "start level" is broadcasted and the level number is in the variable "level"

(tell me when this has bugs in it  smile  )

JSO

Last edited by JSO (2009-08-16 05:44:43)


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#17 2009-08-17 05:46:33

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: a lode blok

JSO wrote:

Ok... How to do it.

Make a list with all your level codes in it, named 'level codes'. Just make them random. The list should have as many items as you have levels. Item 1 of the list is the level code for level 1, 2 for 2 etc.

This is a script you could use:

http://img29.imageshack.us/img29/7350/levelscript.gif

When the user entered a correct level code, "start level" is broadcasted and the level number is in the variable "level"

(tell me when this has bugs in it  smile  )

JSO

Q1.how wood((  <->  )) level code work becurs level code never ((1  <-> ?
Q2.how did you get a list block?
neutral

Offline

 

#18 2009-08-17 07:16:30

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: a lode blok

Jonathanpb wrote:

The-Whiz wrote:

Adding cookies?

Maybe... but would it lag the Scratch website? What I mean by this is that there are hundreds of thousands of projects on the Scratch website; if there were cookies for every project (not every project would need them, but it wouldn't be able to sense which ones), wouldn't it lag the Scratch website?

Well you could select [_] Use cookies? when you upload it if they give that as an option...

Offline

 

#19 2009-08-17 09:52:33

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: a lode blok

The-Whiz wrote:

Adding cookies?

Cookies would be the best thing.

such as:

Code:

<when green flag clicked>
<if><( cookie <=> yes/1 )>
(whatevers supposed to happen)
<else>
(Start game)

Last edited by markyparky56 (2009-08-17 09:53:33)


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#20 2009-08-17 12:18:32

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: a lode blok

Cookies for Scratch can be very similar to lists. Sample blocks for cookies in Scratch:

<cookie contains [ ] ?>
<cookie is [ older/newer ] than ( ) hours ?>
(element ( ) of cookie)
(length of cookie)
(cookie)
{Add ( ) to cookie}
{Replace element ( ) of cookie with [ ]}
{Delete whole cookie}
{Delete ( ) of cookie}
{Create cookie}
Legend = < > - Boolean (diamond-shaped block)
             (  ) - Variable
             {  } - Procedural block


Converting my Scratch projects to Python!

Offline

 

#21 2009-08-17 12:23:36

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: a lode blok

Very similar to lists... You're right...

Offline

 

#22 2009-08-17 12:50:55

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: a lode blok

leon0 wrote:

sory

dosnt matter jenuine mistake but good i dea

Offline

 

#23 2009-08-18 12:38:38

sccar3
Scratcher
Registered: 2008-09-04
Posts: 100+

Re: a lode blok

filo5 wrote:

Cookies for Scratch can be very similar to lists. Sample blocks for cookies in Scratch:

<cookie contains [ ] ?>
<cookie is [ older/newer ] than ( ) hours ?>
(element ( ) of cookie)
(length of cookie)
(cookie)
{Add ( ) to cookie}
{Replace element ( ) of cookie with [ ]}
{Delete whole cookie}
{Delete ( ) of cookie}
{Create cookie}
Legend = < > - Boolean (diamond-shaped block)
             (  ) - Variable
             {  } - Procedural block

like the idea


http://1.bp.blogspot.com/-WInb2DZ2LBM/UQaLETx3VII/AAAAAAAAAmQ/ZOpSwEPggiE/s1600/The%2BElder%2BScrolls%2BOnline%2BSignup%2BBeta.jpg

Offline

 

#24 2009-08-18 12:44:41

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: a lode blok

you would need internet acess for it though wouldn't you? (Cookies)  To be able to recognise an IP adress... then you run into the internet block, Scratch would need protection from viruses and the like...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#25 2009-08-18 18:21:46

takide
Scratcher
Registered: 2008-11-18
Posts: 14

Re: a lode blok

i like the idea and i really want it. as long a we are talking about loading a game wouldn't it be cool if you could have your own custom loader?

Offline

 

Board footer