LiminaliaLiminalia
How-to: Make snow or rain fall

Make snow or rain fall

Open in Claude (new tab)
On this page

With the “Rain, snow” part, you can make snow, rain, cherry blossom petals and the like fall across the screen. Once it starts, it keeps falling until you place the “Stop particles” part. It doesn’t stop when the page moves on.

The examples on this page use the English sample story, “Waiting for Stars” (choose “A sample story” and English in New Project, or run lim new --lang en; the characters are Akari and Sou).

Make snow fall

  1. Select the text block just before where it should start falling (here, “Night had fallen, and the hill had grown bitterly cold.”).
  2. Type “particles” in the search box at the top of the parts panel, and double-click “Rain, snow” in the results.
  3. In the parameter panel on the right, set preset to “snow.”
The Rain, snow part. Set preset to snow.
  1. For a crosswind, enter a value in wind (positive values blow to the right). Here, enter 30.
  2. To have it fall in front of the sprites too, set layer to “front.”
Enter 30 in wind and set layer to front.

From the next line of dialogue, snow falls while drifting to the right.

Snow falling.

Set preset to “rain,” and it rains instead.

Rain falling.
presetWhat falls
rainRain
snowSnow
sakuraCherry blossom petals
sparkleSparkles
dustDust
ParameterWhat it sets
countNumber of particles (each kind’s default if left out)
speedSpeed factor (1 by default)
windCrosswind (px per second; positive values blow to the right)
sizeSize factor (1 by default)
colorColor
opacityOpacity (0 to 100)
layerWhere to place it (back is between the background and the sprites, front is in front of the sprites, fx is over the whole screen; fx by default)
imageImage to make fall (chosen from “Images” in the assets; each kind’s own shape if left out)
timeFade-in time when it starts falling (500ms by default)

Stop

  1. Select the block just before where it should stop (here, ”…It’s snowing.”).
  2. With “particles” still in the search box, double-click “Stop particles.”
  3. Enter the time it takes to disappear in time. Here, enter 2000 (2 seconds).
The Stop particles part. Enter 2000 in time.

When the next text appears, the snow fades away over 2 seconds.

The screen after the snow has stopped.

If you don’t write name, everything that’s falling stops. To make snow and rain fall at the same time and stop only one of them, give a name in name of the part that makes it fall, and enter the same name in name of the part that stops it.

In code

@bg hill_night.webp
@chara Sou normal
Night had fallen, and the hill had grown bitterly cold.
@particles snow wind=30 layer=front
Sou "...It's snowing."
@particles-off time=2s
The snow kept falling for a while, then finally stopped.

For details, see @particles and @particles-off.

Commands used on this page

@bg@chara@particles@particles-off