Skip to content

Scenes

Scenes provide a visual setting for a Practice Set or an individual practice card.

Kx Markdown supports both Practice Set-level scenes and line-level scenes.

A Practice Set can declare a scene in its metadata:

[uuid:...]
[id:clock-practice]
[cat:time, clock]
[scene:clock.12-00]
[context]
Practice telling time.
[/context]
- ¿Qué hora es?

The Practice Set scene exists outside the individual practice card and provides scene content for the Practice Set.

A practice line can also specify scene content.

- ¿Qué hora es? [scene:clock.06-15, ans: "It is six fifteen."]

Use fscene when a scene belongs specifically to the front of a card:

- ¿Qué hora es? [fscene:clock.07-30, ans: "It is seven thirty."]

Use bscene when a scene belongs specifically to the back:

- Son las nueve y cuarenta y cinco. [bscene:clock.09-45]

A line can define both:

- ¿Qué hora es? [fscene:clock.08-15, bscene:clock.11-30, ans: "The Scene changes when the card flips."]

This allows the scene to change as the learner moves from the front to the back of a card.

A Practice Set can combine a persistent Practice Set scene with card-specific scene content:

[scene:clock.12-00]
[context]
This Practice Set demonstrates a PS-level Scene plus line-level Scene content.
The PS Scene remains outside the card. Line-level Scene content belongs to the Front or Back card.
[/context]
- ¿Qué hora es? [fscene:clock.07-30, ans: "It is seven thirty."]
- Son las nueve y cuarenta y cinco. [bscene:clock.09-45]

This distinction makes it possible to maintain a larger setting while individual cards contribute their own scene content.

Visuals and scenes are related but serve different presentation roles.

A visual belongs to practice-card content:

[fvisual:clock.03-15]

A scene establishes scene content:

[scene:clock.12-00]

Scenes can exist at the Practice Set level, while front and back scene instructions can also change scene content for individual cards.