Effects¶
A community's officers can give its pages moving backgrounds: falling snow, light rays, fog, glowing particles, Lottie and Rive animations, their own shaders and 3D backdrops. Games Communities draws them all with its own renderer and holds the budget, so an effect never slows a player's PC or a game.
Open Design… › Background and effect. The simple choice is one of the built-in effects (snow, petals, fireflies, leaves, stars, bubbles, confetti). Or build your own scene, shaders too.
Scenes¶
A scene is a background made of layers:
| Layer | What it is |
|---|---|
| Picture | An upload, at a depth (0-1: moves with the mouse), drifting or swaying, with a blend (normal, add, screen, multiply) and opacity. |
| Emitter | Particles: a shape (point, line, box, ring, edge), a rate, life, speed, angle and spread, gravity, wind, spin, size and up to 6 colours over its life, a built-in sprite or your own, glow, and the mouse pushing or pulling them. |
| Light | Rays, a spot or a vignette. |
| Fog | 1-4 bands, flowing. |
| Grade | A tint, contrast and saturation over the whole page. |
| Bloom | A glow on the bright parts. |
| Animation | A Lottie or Rive file, placed and sized, moving gently with the mouse. |
| Shader | Your own GLSL code. See Shaders. |
A scene can also have one 3D backdrop behind all its layers. A layer can be drawn over the page; prices, buy buttons and legal parts are always kept clear of it.
The Scene editor¶
- Presets to start from: snow, embers, rain, aurora, starfield, sakura, magic dust, god rays, fog bank.
- The layers list: add a layer, order them, hide one, take one off. Each kind has its own form.
- A live preview (16:9) in the real renderer, over a pretend shelf; "as a weak PC plays it" shows the Light mode.
- The budget as Games Communities counts it (layers, particles at once, pictures, how much of the screen is covered) and this PC's cost (milliseconds a frame).
The budget¶
A scene is refused when it's over: 8 layers, 6 emitters, one grade, one bloom, 4 pictures (sprites and shader textures count), 400 particles alive at once (rate times the longest life), and layers that together cover more than the screen once. Other numbers are brought into range.
Every scene playing on one screen shares the same 400 particles. Effects run at 30 frames a second. When a PC is slow, they step down for the visit: fewer particles, no glow, bloom or fog, half resolution, then a still frame. They pause when the page is hidden or scrolled away, on a battery under 20%, and while any game plays.
Places¶
Different places can have a scene of their own in place of the design's: the store front, a page of your own site, all channels or one channel, the header, and overlays for streamers. A season brings its own scene (one of the presets) for its dates.
A game's page opened from your store can wear a scene too (its page look; a preset). Starter themes bring a preset scene.
Bursts¶
A burst is a one-off shower over the whole window: confetti, hearts, sparks, or your own (emitters, up to 300
particles in all, up to 6 seconds, built-in sprites). Design… › Bursts sets them, each played on any of:
a member joining, a purchase through the store, a word in a message, or a !command. Try plays one.
Scripts play them with burst('confetti') (everyone watching) or burst('hearts', memberId) (one member), widgets and
pages with GC.burst(name) (only that viewer). Up to 30 a minute for a community; a player sees at most 12 a minute.
Animations¶
Upload Lottie (.json or .lottie) or Rive (.riv) files. They play in the header, in ranks'
badges, in stickers and as a scene's animation layer.
| Rule | Limit |
|---|---|
| File | 2 MB |
| Lottie | Has layers, 1-120 frames a second, up to 600 s, up to 4096 px; a .lottie up to 100 files and 16 MB unpacked |
| Rive | Format 7 or newer |
They pause when hidden or while a game plays, and show their first frame when effects are off.
Shaders¶
A shader layer runs your own GLSL ES 3.00 code, Shadertoy-style:
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = fragCoord / iResolution.xy;
fragColor = vec4(uv, 0.5 + 0.5 * sin(iTime), 1.0) * vec4(iAccent, 1.0);
}- Inputs:
iTime,iTimeDelta,iFrame,iResolution,iMouse,iScroll,iAccent(your accent colour) andiChannel0-iChannel3(up to 4 of your pictures). - Rules: ASCII, up to 16,000 characters, no
#versionor#extension; drawn at 0.25-1 of the screen's resolution (0.5 if not set). - WebGPU: an optional WGSL version (
fn mainImage(fragCoord: vec2f) -> vec4f, inputs asgc.iTimeand so on) runs where the PC has WebGPU; the GLSL is still needed for the rest. - The editor has templates (gradient flow, aurora, water caustics, starfield, plasma) and shows this PC's compile errors on your lines.
Changing shaders needs two-factor officers, as code does; they stay off for 30 days after Games Communities takes a design down.
To keep players safe, Games Communities watches every shader: one too slow for the GPU is drawn smaller, then stopped; one that flashes more than 3 times a second stops at once. If players' GPUs fail on a shader, it's turned off for everyone until its code changes.
3D backdrops¶
A scene's 3D backdrop plays behind all its layers:
- Sky: a colour, a gradient (up to 3 colours) or a 360° picture that also lights the models; an exposure.
- Lights: ambient, sun, point; one sun casts shadows.
- Fog, bloom, and emitters of 3D particles (built-in sprites).
- Models:
.glbfiles, placed, turned and sized, spinning, bobbing or playing their animation. - Camera: where it stands and looks, its field of view (20-90), orbiting, following the mouse or the page's scroll.
The editor has presets (night sky, sunset haze, 3D snowfall, embers) and shows the backdrop's cost on this PC.
A model (.glb) | Limit |
|---|---|
| File | 8 MB, glTF 2.0 binary |
| Triangles / draw calls / nodes / animations | 100,000 / 32 / 1,000 / 32 |
| Textures | PNG, JPEG or WebP, up to 2048 px |
| Refused | meshopt or Draco compression, KTX2 textures, GPU instancing |
A whole backdrop may have up to 200,000 triangles, 64 draw calls and 64 MB of textures. A 360° sky is PNG, JPEG or WebP (no HDR).
For players¶
Settings › Interface › Effects (this device): Full, Light (half the particles and resolution) or Off. No moving shops, Windows' reduced motion and low performance mode show a still frame. See Settings.