Songs Script

Plays songs in singleplayer or based on number of players

Author
Jstris Customization Database
Daily installs
0
Total installs
79
Ratings
0 0 0
Version
0.2
Created
2019-06-11
Updated
2019-07-08
License
N/A
Applies to

■ 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;