C++ SCHX ยท rev 4
Storage blocks ยท Beginner

Storage blocks

Save progress in the browser. Storage blocks preserve small values by key so a game can remember settings or progress between runs.

12 minreading time
Beginnerdifficulty
MODU docssource
SCHX nativeruntime
SCHX / FEATURE LAYER

What Storage is for

Storage blocks preserve small values by key so a game can remember settings or progress between runs.

The built-in Storage category starts with 3 core block shapes and is expanded by the larger generated catalog, so you can learn a small vocabulary before exploring specialized variants.

SCHX / FEATURE LAYER

Core blocks you will see

These names come from the current RC Blocks Studio catalog. Start with the first two or three and ignore the rest until your project needs them.

blockssave value with key
load key into variable
remove saved key
SCHX / FEATURE LAYER

Try this tiny recipe

Build the smallest possible experiment so you can see what this category changes.

1

Save a simple value under a key.

2

Reload the page/project.

3

Load the key into a variable and display it.

SCHX / FEATURE LAYER

How it becomes a real game

When the project is materialized, supported Storage opcodes are compiled into the generated browser runtime rather than remaining visual-only editor decorations.

That means the same block idea can affect the full RC project when you Save and Run project.

SCHX / FEATURE LAYER

Related guides