diff --git a/config-definitions.json b/config-definitions.json index d9f0c02..f1627b8 100644 --- a/config-definitions.json +++ b/config-definitions.json @@ -25,6 +25,13 @@ "separator_c": {}, + "Crew": { "type": "label" }, + "single_idol": { + "label": "!!!ALWAYS MATCH THE NAME!!!", + "type": "text", + "default": "nothing" + }, + "words": { "type": "selection", "label": "Language", diff --git a/scripts/result.lua b/scripts/result.lua index f449898..ed1de12 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -3,6 +3,8 @@ local Background = require('components.background'); local Footer = require('components.footer'); local lang = require("language.call") +local creww = game.GetSkinSetting("single_idol") + local VolforceWindow = require('components.volforceWindow') local resx, resy = game.GetResolution() @@ -109,7 +111,7 @@ local clearBadgeImages = { } -- ANIMS -local idolAnimation = gfx.LoadSkinAnimation('crew/anim', 1 / 30, 0, true); +local idolAnimation = gfx.LoadSkinAnimation('crew/anim/'..creww, 1 / 30, 0, true); local transitionEnterScale = 0; local idolAnimTransitionScale = 0; diff --git a/scripts/shared/idol.lua b/scripts/shared/idol.lua new file mode 100644 index 0000000..8367f5c --- /dev/null +++ b/scripts/shared/idol.lua @@ -0,0 +1,13 @@ +local idols ={ + -- SDVX IV + nearnoah_summer={"crew/anim/nearnoah_summer", 1 / 30, 0, true} + -- SDVX V + + -- SDVX III +} + + + + + +return idols \ No newline at end of file diff --git a/scripts/titlescreen.lua b/scripts/titlescreen.lua index 542fd09..de5767a 100644 --- a/scripts/titlescreen.lua +++ b/scripts/titlescreen.lua @@ -42,8 +42,10 @@ local settingsLabelImage = gfx.CreateSkinImage( 'titlescreen/labels/settings.png', 0); local exitLabelImage = gfx.CreateSkinImage('titlescreen/labels/exit.png', 0); +local creww = game.GetSkinSetting("single_idol") + -- ANIMS -local idolAnimation = gfx.LoadSkinAnimation('crew/anim', 1 / 30, 0, true); +local idolAnimation = gfx.LoadSkinAnimation('crew/anim/'..creww, 1 / 30, 0, true); -- AUDIO game.LoadSkinSample('titlescreen/bgm.wav'); diff --git a/textures/crew/anim/1.png b/textures/crew/anim/1.png deleted file mode 100644 index 2eb7c86..0000000 Binary files a/textures/crew/anim/1.png and /dev/null differ diff --git a/textures/crew/portrait.png b/textures/crew/portrait.png deleted file mode 100644 index 6edfbdd..0000000 Binary files a/textures/crew/portrait.png and /dev/null differ