Track 5 fully functional

also fixed karate man's Set Background Effects
This commit is contained in:
ThatZeoMan 2022-07-28 17:16:20 -05:00
parent aa9379e21e
commit ec7936b954
3 changed files with 7 additions and 7 deletions

View File

@ -38340,7 +38340,7 @@ MonoBehaviour:
SongPos: {fileID: 1567318397} SongPos: {fileID: 1567318397}
CurrentTempo: {fileID: 1783963081} CurrentTempo: {fileID: 1783963081}
eventObjs: [] eventObjs: []
LayerCount: 4 LayerCount: 5
metronomeEnabled: 0 metronomeEnabled: 0
resizable: 0 resizable: 0
snapInterval: 0.25 snapInterval: 0.25

View File

@ -52,14 +52,14 @@ namespace HeavenStudio.Games.Loaders
var c = KarateMan.instance.BackgroundColors[e.type]; var c = KarateMan.instance.BackgroundColors[e.type];
if(e.type == (int)KarateMan.BackgroundType.Custom) c = e.colorA; if(e.type == (int)KarateMan.BackgroundType.Custom) c = e.colorA;
KarateMan.instance.SetBackgroundColor(e.type, e.type2, c, e.colorB); KarateMan.instance.SetBackgroundColor(e.type, e.type2, c, e.colorB);
KarateMan.instance.SetBackgroundFX((KarateMan.BackgroundFXType)eventCaller.currentEntity.type); KarateMan.instance.SetBackgroundFX((KarateMan.BackgroundFXType)eventCaller.currentEntity.type3);
}, 0.5f, false, new List<Param>() }, 0.5f, false, new List<Param>()
{ {
new Param("type", KarateMan.BackgroundType.Yellow, "Background Type", "The preset background type"), new Param("type", KarateMan.BackgroundType.Yellow, "Background Type", "The preset background type"),
new Param("type2", KarateMan.ShadowType.Tinted, "Shadow Type", "The shadow type. If Tinted doesn't work with your background color try Custom"), new Param("type2", KarateMan.ShadowType.Tinted, "Shadow Type", "The shadow type. If Tinted doesn't work with your background color try Custom"),
new Param("colorA", new Color(), "Custom Background Color", "The background color to use when background type is set to Custom"), new Param("colorA", new Color(), "Custom Background Color", "The background color to use when background type is set to Custom"),
new Param("colorB", new Color(), "Custom Shadow Color", "The shadow color to use when shadow type is set to Custom"), new Param("colorB", new Color(), "Custom Shadow Color", "The shadow color to use when shadow type is set to Custom"),
new Param("type", KarateMan.BackgroundFXType.None, "FX Type", "The background effect to be displayed") new Param("type3", KarateMan.BackgroundFXType.None, "FX Type", "The background effect to be displayed")
}), }),

View File

@ -9,10 +9,10 @@
"MusicLayerCol": "a663cc", "MusicLayerCol": "a663cc",
"Layer1Col": "ef476f", "Layer1Col": "ef476f",
"Layer2Col": "ffd166", "Layer2Col": "f5813d",
"Layer3Col": "06d6a0", "Layer3Col": "ffd166",
"Layer4Col": "118ab2", "Layer4Col": "06d6a0",
"Layer5Col": "34eb55", "Layer5Col": "118ab2",
"EventSelectedCol": "61e5ff", "EventSelectedCol": "61e5ff",
"EventNormalCol": "FFFFFF", "EventNormalCol": "FFFFFF",