Merge branch 'master' of https://github.com/FajsiEx/exceed
This commit is contained in:
commit
ee4e6f0ce2
Binary file not shown.
|
@ -37,5 +37,14 @@
|
||||||
"label": "Language",
|
"label": "Language",
|
||||||
"default": "EN",
|
"default": "EN",
|
||||||
"values": ["EN", "DE", "SK", "test2"]
|
"values": ["EN", "DE", "SK", "test2"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"separator_d": {},
|
||||||
|
"Audio": { "type": "label" },
|
||||||
|
|
||||||
|
"audio_systemVoice": {
|
||||||
|
"label": "Turn on Rasis",
|
||||||
|
"type": "bool",
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,8 +35,12 @@ local outroTransitionParticleSmallYellowRingAX = 1080;
|
||||||
local outroTransitionParticleSmallYellowRingBX = 1080;
|
local outroTransitionParticleSmallYellowRingBX = 1080;
|
||||||
local outroTransitionParticleSmallYellowRingCX = 1080;
|
local outroTransitionParticleSmallYellowRingCX = 1080;
|
||||||
|
|
||||||
|
if (game.GetSkinSetting('audio_systemVoice')) then
|
||||||
|
game.LoadSkinSample('gameplay/track_comp_rasis.wav');
|
||||||
|
else
|
||||||
game.LoadSkinSample('gameplay/track_comp.wav');
|
game.LoadSkinSample('gameplay/track_comp.wav');
|
||||||
|
end
|
||||||
|
|
||||||
local compSfxPlayed = false;
|
local compSfxPlayed = false;
|
||||||
|
|
||||||
local tickTransitions = function (deltaTime)
|
local tickTransitions = function (deltaTime)
|
||||||
|
@ -173,9 +177,13 @@ end
|
||||||
local handleSounds = function ()
|
local handleSounds = function ()
|
||||||
if not compSfxPlayed then
|
if not compSfxPlayed then
|
||||||
compSfxPlayed = true;
|
compSfxPlayed = true;
|
||||||
|
if (game.GetSkinSetting('audio_systemVoice')) then
|
||||||
|
game.PlaySample('gameplay/track_comp_rasis.wav');
|
||||||
|
else
|
||||||
game.PlaySample('gameplay/track_comp.wav');
|
game.PlaySample('gameplay/track_comp.wav');
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local render = function (deltaTime)
|
local render = function (deltaTime)
|
||||||
tickTransitions(deltaTime);
|
tickTransitions(deltaTime);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue