Songs Script

Plays songs in singleplayer or based on number of players

Ekde 2019/07/08. Vidu La ĝisdata versio.

Aŭtoro
Jstris Customization Database
Ratings
0 0 0
Versio
0.2
Kreita
2019/06/11
Ĝisdatigita
2019/07/08
Size
5,39 kb
Licenco
N/A
Aplikiĝas al

■ Songs are set to T99 songs but can be changed to anything else.
■ var songThresholds = [1, 0.6, 0.2] means that the first song will play at the start of the game, the second song will play when there are 60% of players remaining, and the third song will play when there are 20% of players remaining.
■ Change the amount of songs playing by adding or removing values in this line: var songThresholds = [1, 0.6, 0.2] The amount of songs in var songs should match amount of values.
■ Music works in singleplayer modes as well
■ To adjust volume of music, go to Settings → Appearance → and set the Music vol sliders to your liking. MP stands for multiplayer, SP for singleplayer.
■ Music plays for all singleplayer modes by Default, but to play the music only on Sprint modes, change the "false" in this line to "true": Game['onlySprint'] = false;