flix

0.81.0

SoundCmd

enum SoundCmd with Eq, Order, ToStringSource
case Shoot
case InvaderDies
case PlayerDies
case MysteryAppears
case MysteryDies
case ShieldBlock
case ExtraLife
case MarchStep(Int32)

Something the game wants heard.

MarchStep carries which of the four notes of the bassline is due. Its tempo is not a timer -- it is driven by how far the formation has actually moved, so it speeds up exactly in step with the invaders.

Instances

Eq, Order, ToString

Definitions

def all(): List[SoundCmd]§ Source

Every sound the game can make, which is what the runtime pre-builds voices for.

def marchNotes(): Int32§ Source

How many notes the marching bassline cycles through.