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

#1 2008-08-28 16:05:16

Kingbradley6
Scratcher
Registered: 2007-05-17
Posts: 100+

Cookies!

I doubt this will ever be made possible as it requires interaction with the outside world (*screams heard in the distance + thunder*).

Anyway...

I would like Scratch, seeing as it's a web app, to be able to set temporary cookies on the user's browser.

I'm not quite sure how it would work, something along the lines of:

Is cookie present?

If Yes goto "Step 10" (by the way, I don't know if it is actually step 10 - it's just the name)

If No

Set variable for cookie length

Scratch checks if online

If Online execute cookie

Else (offline) nil (null)

(games plays)

STEP 10: Bring back to level cookie was set at

-----

As you can see it makes no sense and is quite frankly just me writing garbage - but you get the idea of the post - cookies!!

Thoughts?

Last edited by Kingbradley6 (2008-08-28 16:07:27)

Offline

 

#2 2008-08-28 16:07:12

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

Re: Cookies!

I agree. You can set cookies in flash applications so why not give that capability to scratch?


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

 

#3 2008-08-28 17:20:58

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Cookies!

archmage wrote:

I agree. You can set cookies in flash applications so why not give that capability to scratch?

You can (well, I knew you can)? How? And this would make Scratch funner


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-08-28 23:05:55

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Cookies!

Can you read minds or something?  I was thinking the exact same thing about a week ago!

(my language for "I agree")

Last edited by coolstuff (2008-08-28 23:06:13)

Offline

 

#5 2008-08-29 22:34:38

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Cookies!

I agree, definitely.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

Board footer