Contrast, music wheel icons

This commit is contained in:
ListenerJubatus
2017-12-29 21:19:25 -06:00
parent 1f2269bb32
commit edcda5cae6
7 changed files with 42 additions and 11 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 21 KiB

@@ -0,0 +1,31 @@
-- This actor is duplicated. Upvalues will not be duplicated.
local grades = {
Grade_Tier01 = 0,
Grade_Tier02 = 1,
Grade_Tier03 = 2,
Grade_Tier04 = 3,
Grade_Tier05 = 4,
Grade_Tier06 = 5,
Grade_Tier07 = 6,
Grade_Failed = 7,
Grade_None = nil
};
return LoadActor("grades")..{
InitCommand=cmd(pause);
SetGradeCommand=function(self, params)
if GAMESTATE:IsCourseMode() then
self:visible(false);
return;
end;
local state = grades[params.Grade] or grades.Grade_None;
if state == nil then
self:visible(false)
else
self:visible(true)
state = state*2
if params.PlayerNumber == PLAYER_2 then state = state+1 end
self:setstate(state)
end
end;
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+1 -1
View File
@@ -26,7 +26,7 @@ end;
ScreenColors = {
Style = color("#81468B"),
PlayMode = color("#478e6f"),
PlayMode = color("#b2350c"),
Music = color("#1268aa"),
Online = color("#1CA6A0"),
Course = color("#6D1646"),
+10 -10
View File
@@ -817,7 +817,7 @@ ShowRandom=true
[MusicWheelItem]
Fallback=WheelItemBase
IconX=-190
IconX=-186
IconY=0
IconOnCommand=
#
@@ -838,10 +838,10 @@ RandomX=-200
RandomY=0
RandomOnCommand=zoom,1.25;uppercase,true;rainbowscroll,true;shadowlength,1;horizalign,left;
GradeP1X=140
GradeP1Y=0
GradeP2X=216
GradeP2Y=0
GradeP1X=-196
GradeP1Y=-14
GradeP2X=-196
GradeP2Y=14
CourseX=-210
CourseOnCommand=zoom,1.0;horizalign,left;shadowlength,1;maxwidth,SCREEN_WIDTH*0.31;strokecolor,color("#42292E")
@@ -865,13 +865,13 @@ AfterSetCommand=%function(self) \
local Subtitle=self:GetChild("Subtitle"); \
local Artist=self:GetChild("Artist"); \
if Subtitle:GetText() == "" then \
(cmd(zoom,1.1;maxwidth,SCREEN_WIDTH*0.31;y,-13;x,-200;strokecolor,color("#42292E");))(Title); \
(cmd(zoom,1.1;maxwidth,SCREEN_WIDTH*0.24;y,-13;x,-150;strokecolor,color("#42292E");))(Title); \
(cmd(visible,false))(Subtitle); \
(cmd(zoom,0.75;maxwidth,SCREEN_WIDTH*0.45;y,13;x,-200;strokecolor,color("#42292E");))(Artist); \
(cmd(zoom,0.75;maxwidth,SCREEN_WIDTH*0.36;y,13;x,-150;strokecolor,color("#42292E");))(Artist); \
else \
(cmd(zoom,0.9;maxwidth,SCREEN_WIDTH*0.31;y,-14;x,-200;strokecolor,color("#42292E");))(Title); \
(cmd(visible,true;zoom,0.5;y,4;maxwidth,SCREEN_WIDTH*0.46;x,-200;strokecolor,color("#42292E");))(Subtitle); \
(cmd(zoom,0.6;maxwidth,SCREEN_WIDTH*0.45;y,18;x,-200;strokecolor,color("#42292E");))(Artist); \
(cmd(zoom,0.9;maxwidth,SCREEN_WIDTH*0.24;y,-14;x,-150;strokecolor,color("#42292E");))(Title); \
(cmd(visible,true;zoom,0.5;y,4;maxwidth,SCREEN_WIDTH*0.40;x,-150;strokecolor,color("#42292E");))(Subtitle); \
(cmd(zoom,0.6;maxwidth,SCREEN_WIDTH*0.36;y,18;x,-150;strokecolor,color("#42292E");))(Artist); \
end \
end;