+ skin setting for bpm dependent animations
This commit is contained in:
parent
efa50e0c1a
commit
976edebe03
|
@ -1,7 +1,17 @@
|
||||||
{
|
{
|
||||||
|
"User information": {"type": "label"},
|
||||||
"username": {
|
"username": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Username (max 8 characters)",
|
"label": "Username (max 8 characters)",
|
||||||
"default": "GUEST"
|
"default": "GUEST"
|
||||||
|
},
|
||||||
|
|
||||||
|
"separator_a": {},
|
||||||
|
"Animations": {"type": "label"},
|
||||||
|
|
||||||
|
"animations_affectWithBPM": {
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Affect speed of some animations with the current song's BPM",
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -646,7 +646,7 @@ function tickTransitions(deltaTime)
|
||||||
-- Flash transition
|
-- Flash transition
|
||||||
if transitionFlashScale < 1 then
|
if transitionFlashScale < 1 then
|
||||||
local songBpm = 120;
|
local songBpm = 120;
|
||||||
if (songwheel.songs[selectedIndex]) then
|
if (songwheel.songs[selectedIndex] and game.GetSkinSetting('animations_affectWithBPM')) then
|
||||||
songBpm = songwheel.songs[selectedIndex].bpm;
|
songBpm = songwheel.songs[selectedIndex].bpm;
|
||||||
|
|
||||||
-- Is a variable BPM
|
-- Is a variable BPM
|
||||||
|
|
Loading…
Reference in New Issue