elements library
The elements of flutter3d_effects, met by the rest of a game: the fires
and the water flutter3d_effects' PhysicsHearing reports, and the
bodies a game wades through water (Wader), played as ElementSounds
from ElementCues, and the water lit by the hour of the day
(DaylightOnWater.lightWater).
A library, not a plugin: a game plays the elements on its own audio scene and lights the water where it moves the day, and nothing here registers with the engine.
Classes
- ElementCues
- Which sounds the elements make: a loop held to every fire, a loop held to every fall of water, a splash played once, and a loop held to every body wading through water.
- ElementSounds
-
The elements heard: what
PhysicsHearingreads off the effects world each frame, played through a game'sAudioScene. - Wader
- A body moving through or by water this frame, as ElementSounds.wade hears it.
- WadingHearing
- How a body wading through water is heard, by how fast it goes: what ElementSounds.wade plays.
Extensions
- DaylightOnWater on Daylight
-
The day of
flutter3d_game_kit'sworld.dart, lighting the water offlutter3d_effects.