Discuss Scratch

FireArrow879
Scratcher
65 posts

Cache Variables

There should be cache variables, where it saves the variable as a cookie. This would be useful for:

Starting a platformer project, and starting at where you left off.
Starting a clicker/simulator project, and starting with the same stats as you had when you left off.
Easier Save/Load systems.
Save Files on project.
Saved passwords, usernames, and files on OS projects.

There are also cons.
If you use an repeat 1000 block with a save variable to cache block, it would clutter the cache.

Cache variables only support numbers (0-9), and letters (A-Z), spaces ( ), underscores (_) and hyphens (-).

The blocks:

save [

Last edited by FireArrow879 (Oct. 6, 2021 03:07:06)


FireArrow879
50/100 Posts!
This is my forum signature! It is good to make dupes/bumps, but be unique.
My YouTube Channel!
Numberblocks Algodoo Episode 1, Part 1!
Square Boy 1!
dhuls
Scratcher
1000+ posts

Cache Variables

Cookies aren't stored in cache, they are separate things.
Read more on cookies (which because of their nature, wouldn't work for this), localStorage, and cache (which also wouldn't work).

Also this is a duplicate. The original is probably on page 2 or 3.
Paddle2See
Scratch Team
1000+ posts

Cache Variables

It looks like this is a duplicate topic of this one over here so I'll close it to keep the conversation all in one place.

Please use the existing topic in the link above.

Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;

Powered by DjangoBB