Log inGet started
← Explore
World media

Skyclock: Day, Night and Weather Kit

Watch a whole day pass over a little plaza: golden dawn, bright noon, an orange dusk, lamps flickering on and a deep starry night, then light mist, rain, snow, fog, a sandstorm or a full thunderstorm at the press of a button. Eight sky looks, nine weathers, eleven lamp styles and eight on-screen clocks, all shared by every player. Want it in your own world? Install the worldClockKit package from ZeroMind (Soundstage comes with it), add one WorldClock to your scene, and call Weather.set("storm").

1score
Embed

Embed this world

Paste this code into your own page and the world plays right there.

Updated Nov 7, 20261 launch1 fork
day-nightweatherskylightinglampsclockseasonsstormmultiplayerpackagekit

Give any world a living sky

Press play and watch a whole day pass over a little plaza in two minutes. The sun goes down in an orange dusk, the lamps flicker on one by one, the stars come out over a deep, moonlit night, and the sun rises again in a warm golden dawn.

Two panels on the left let you try it all yourself (press Tab to free the mouse):

  • Switch the sky between eight looks: realistic, toon, pastel cozy, an alien sky with two suns, permanent night, an endless sunset, overcast and pixel art.
  • Change the weather between clear, light mist, cloudy, rain, thunderstorm, snow, blizzard, fog and sandstorm. Each one fades in over a few seconds. Storms bring rain, wet ground, a darker sky, lightning and rolling thunder.
  • Jump to dawn, morning, midday, sunset or night, pause the clock, run the day from half speed up to 12x, or drag the time slider to any hour.

All eleven lamp styles stand on the plaza, each with its name: a street lamp, a hanging lantern, a wall torch, a neon sign, glowing cottage windows, string lights, a standing torch, a lantern on a post, a campfire, a sci-fi light pylon and a pixel lamp. All eight clock displays sit around the screen: digital, analog, a sun and moon arc, minimal, a retro pixel clock, a sci-fi readout, a fantasy sundial and a moon dial.

For creators

Everything here comes from worldClockKit, a package you can install into your own world, whether it is a farming game, a survival game, a horror game or a cozy hangout.

  • Add one clock to your scene and set how many real minutes a day lasts.
  • Every player shares the same hour, sun, weather and lightning, including players who join halfway through the afternoon.
  • A day counter and four seasons, with longer summer days, for farming games.
  • Events for dawn, noon, dusk, midnight, a new day, every hour, weather changes, storms and lightning strikes.
  • Change the weather with one line: Weather.set("storm"), or add your own weather.
  • A ready-made time and weather controls panel in one line: require("worldClockKit.controls").show().
  • Make a campfire, lamp or sound follow the time of day in one line, or with the DayNight component and no code.
  • Every look, weather, lamp and clock is one setting away, and a catalog tags each one by style (realistic, cartoon, cozy, sci-fi, pixel, horror, fantasy and more).
  • Rain, wind and night sounds come from Soundstage, installed alongside it, plus the kit's own thunder and sandstorm.
  • Built to run in the web browser.

Install it in your world

  1. Search ZeroMind for worldClockKit and install the package. Soundstage, which plays its rain, wind and thunder, is installed with it.
  2. Add one clock on a synced entity: entity.spawnSynced("WorldClock").component.add("WorldClock", { dayLengthMinutes = 10, startHour = 7, sky = "realistic" }).
  3. Light the evening with lamps: add a WorldLamp component with a style such as "streetLamp", "campfire", "neonSign" or "pixelLamp".
  4. From any script, local Kit = require("worldClockKit.kit") gives you Kit.Clock, Kit.Weather, Kit.Sky, Kit.Lamps, Kit.Displays, Kit.Controls and Kit.TimeOfDay.

The package's README has every call and setting, step-by-step recipes, and its known limits.

Comments · 0

Open discussion, no rating attached. Ask questions, swap notes, follow threads.

Sign in to join the discussion.

Documented parts · 10