Level design: Music - HarZe/java-danmaku-engine GitHub Wiki

Music are audio files (WAV or OGG) that will be played as background music (they can't overlap, playing a second one stops the first).

Attributes

Name Optional Values Description
name No Any Reference name
sheet No Any Path of the WAV/OGG file
pitch Yes Real number (default: 1) Pitch of the sound
gain Yes Real number (default: 1) Volume of the sound

Content

This tag has no content

Example

<music name="background_music" file="res/music/back.ogg" gain="0.75" />
⚠️ **GitHub.com Fallback** ⚠️