Logo Mibo

BankEntry Type

One entry of a sound bank: a game-vocabulary key bound to the file that plays under it. The whole bank loads before the program's Init runs.

Paths resolve against the program's asset base path (AdaptiveProgram.withAssetsBasePath) — the same rule as the asset service. Formats: whatever the raylib build decodes (WAV, OGG, MP3, FLAC, QOA).

Union cases

Union case Description

Music(key, path)

Full Usage: Music(key, path)

Parameters:
    key : string
    path : string

A music track for the single music channel.

key : string
path : string

Sound(key, path)

Full Usage: Sound(key, path)

Parameters:
    key : string
    path : string

A sound effect: plays with ctx.Audio.play, overlaps itself through an 8-slot pool.

key : string
path : string

Instance members

Instance member Description

this.IsMusic

Full Usage: this.IsMusic

Returns: bool
Returns: bool

this.IsSound

Full Usage: this.IsSound

Returns: bool
Returns: bool

Type something to start searching.