Audio · interface

MixLevels

The two levels a player is given control of: the score, and everything else.

Explained in Your first game.

interface MixLevels
import type { MixLevels } from '@driftengine/audio';

In depth

Named as a pair because they travel as one — a second graph reproducing this mix needs both or neither, and the failure of carrying one is silent.

Properties

NameTypeDescription
musicreadonlynumber
effectsreadonlynumber