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

Camera blocks

Move the playerโ€™s view. Camera blocks let a world feel larger than one Stage by moving or zooming the view and following a sprite.

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

What Camera is for

Camera blocks let a world feel larger than one Stage by moving or zooming the view and following a sprite.

The built-in Camera category starts with 4 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.

blocksmove camera x y
set camera zoom
camera follow this sprite
camera stop following
SCHX / FEATURE LAYER

Try this tiny recipe

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

1

Create a world with a moving player.

2

Set the camera to follow that sprite.

3

Try zoom after following works.

SCHX / FEATURE LAYER

How it becomes a real game

When the project is materialized, supported Camera 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