Log inGet started
Package

rainyStreet.scene

This package holds more than this page lists. See all of its files in its world.

README.md

rainyStreet

A ready-made starting scene: a narrow town street at blue hour in the rain. The sun is just down (18.3 h, the procedural sky's twilight gradient with the first stars); warm street lamps (point Lights with glowing globes) and lit shop and house windows reflect in puddles that stand in the wheel ruts and along the gutters of a wet carriageway (a Tidewater WaterBody of kind puddles). The rain is on from the moment the scene opens, in the editor too: entrypoint.luau sets Tidewater's rain, so the puddles ring with drops in edit and play; water drips off every shop awning (Fx.drips, animated in play). Players spawn on the west pavement looking down the street.

What is in it: the street (a carriageway laid in bands a few millimetres apart: crown, ruts, lane middle, gutter, so the puddles find low spots), kerbs, pavements, a cross street and closing facade, fourteen box-built houses with storeys of windows, cornices and awnings, seven street lamps, the puddles, blue-hour sky and light, the player prototype and spawn.

Fields to change

  • On the Puddles entity's WaterBody: preset (cityStreet default, cobblestone, muddyTrack), look, options (default {"rain":0.35}: the puddles stand open with the rain from the first frame; {"wetness":0.4} pins a drier street; empty follows the weather alone).
  • RAIN / WETNESS in entrypoint.luau: rain 0 for dry air (puddles still, no rings) up to 1 for a downpour; wetness 0.6 keeps the water in the ruts and gutters, 1 floods the street. A weather kit that publishes weather.rain takes over from them.
  • BANDS in build.luau: where the ruts and gutters lie and how often they are sunk.
  • LEFT / RIGHT in build.luau: the houses (start, length, height, facade, storeys).
  • timeOfDay in the Kit.sky call: 18.0 is sunset, 18.3 blue hour, 19+ night.