Bubbles
Rising or top-down bubbles with orbiting, synchronized direction, and token trail interactions.
Ambient effects add visible movement without replacing the full weather setup. Use them on their own or layer them with another particle or filter.
| Reference | Value |
|---|---|
| Package | FXMaster |
| Effect kind | Particle effect |
| Category | Ambient |
| Runtime type | bubbles |
| Exposed parameters | 24 |
Important controls
Section titled “Important controls”- Top Down: Switches Bubbles to the overhead presentation intended for top-down maps. This changes particle projection and movement, so set it before finalizing scale and direction.
- Directional Movement: Makes bubbles travel in the configured Direction instead of relying only on the effect’s default random movement.
- Synchronized Direction: Uses the active Wind or Duststorm direction for Bubbles. When the source direction changes, this effect follows it.
- Token Trails: Pop bubbles that moving tokens pass through.
- Trail Width: Sets the bubble pop path width as a multiplier of the moving token’s footprint.
Setup notes
Section titled “Setup notes”- Top Down is intended for overhead maps and can pair well with Underwater or Water.
- Token Trails create temporary openings through the bubbles. Tune Trail Width before increasing Trail Strength.
Bundled preset usage
Section titled “Bundled preset usage”| Preset | API name | Availability | Variants |
|---|---|---|---|
| Nullfront | nullfront |
FXMaster | Normal |
Parameters
Section titled “Parameters”The table combines the settings available for this effect in Scene and Region contexts. Scene-only and Region-only badges identify controls limited to one context. Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Each card also includes the default, range or choices, context, availability, API key, and control type.
bubbles API typeHover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Context badges identify Scene-only and Region-only controls; unbadged parameters are available in both. Hover or focus an availability condition to highlight the parameter that controls it.
| Parameter | Control | Default | Range or choices | Availability |
|---|---|---|---|---|
Below Tokens belowTokens | checkbox | Off | — | Always |
Below Tiles belowTiles | checkbox | Off | — | Always |
Below Foreground belowForeground | checkbox | Off | — | Always |
Levels levelsScene only | scene-levels | All Levels | — | Always |
Tint tint | color | #FFFFFF (disabled) | — | Always |
Sound FX soundFxEnabled | checkbox | Off | — | Always |
Sound FX Sounds soundFxManualSoundIds | multi-select | Rule default | — | |
Top Down topDown | checkbox | Off | — | |
Orbit orbit | checkbox | Off | — | |
Orbit Distance orbitDistance | range | 0.5 | 0–1 · step 0.01 | |
Directional Movement directionalMovement | checkbox | Off | — | |
Direction direction | range | — | 0–360 · step 5 | |
Synchronized Direction synchronizedDirection | checkbox | Off | — | |
Directional Spread spread | range | 0 | 0–20 · step 1 | |
Scale scale | range | 0.27 | 0.1–1 · step 0.01 | Always |
Speed speed | range | 0.27 | 0.1–1 · step 0.01 | Always |
Lifetime lifetime | range | 0.27 | 0.1–1 · step 0.01 | Always |
Density density | range | 0.29 | 0.01–1 · step 0.01 | Always |
Opacity alpha | range | 1 | 0–1 · step 0.1 | Always |
Token Trails tokenTrailsEnabled | checkbox | On | — | Always |
Trail Width tokenTrailWidth | range | 1 | 0–2 · step 0.05 | |
Trail Strength tokenTrailStrength | range | 0.85 | 0–1 · step 0.01 | |
Darkness Activation darknessActivationEnabled | checkbox | Off | — | Always |
Darkness Activation Range darknessActivationRange | range-dual | {"min":0,"max":1} | 0–1 · step 0.01 |
Direct-effect API example
Section titled “Direct-effect API example”The Direct Effect API creates a separate row shown through Manage API Effects. Add a stable apiMacro_…_p or apiMacro_…_f ID when later macro calls need to update or stop the same row.
const created = await FXMASTER.api.effects.play({ particles: [{ "id": "apiMacro_wikibubbles_p", "type": "bubbles", "options": { "belowTokens": false, "tint": { "value": "#FFFFFF", "apply": false }, "topDown": false, "orbit": false, "directionalMovement": false } }],});
await FXMASTER.api.effects.particles.stop(created.particles);For complete API behavior, scene targeting, stack ordering, and toggle groups, see the Direct Effect API guide.