Fix routine theme errors; do not force typical pump options behavior
This commit is contained in:
@@ -14,14 +14,14 @@ t[#t+1] = Def.ActorFrame {
|
||||
-- GainFocusCommand=cmd(visible,true);
|
||||
-- LoseFocusCommand=cmd(visible,false);
|
||||
LoadActor(THEME:GetPathG("ScreenSelectPlayMode","BackgroundFrame")) .. {
|
||||
InitCommand=cmd(diffuse,Color("Black");diffusealpha,0.7);
|
||||
InitCommand=cmd(diffuse,Color("Black");diffusealpha,0.45);
|
||||
GainFocusCommand=cmd(visible,true);
|
||||
LoseFocusCommand=cmd(visible,false);
|
||||
};
|
||||
LoadActor("_HighlightFrame") .. {
|
||||
InitCommand=cmd(diffuse,ModeIconColors[gc:GetName()];diffusealpha,0);
|
||||
GainFocusCommand=cmd(finishtweening;diffusealpha,1;glow,Color.Alpha(Color.White,1);linear,0.1;glow,Color.Invisible);
|
||||
LoseFocusCommand=cmd(finishtweening;diffusealpha,0;glow,Color.Invisible);
|
||||
GainFocusCommand=cmd(finishtweening;diffuse,ColorLightTone(ModeIconColors[gc:GetName()]);linear,1;diffuse,ModeIconColors[gc:GetName()]);
|
||||
LoseFocusCommand=cmd(finishtweening;diffusealpha,0);
|
||||
OffFocusedCommand=cmd(finishtweening;glow,Color("White");decelerate,1;glow,Color("Invisible"));
|
||||
};
|
||||
};
|
||||
@@ -29,18 +29,11 @@ t[#t+1] = Def.ActorFrame {
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
FOV=90;
|
||||
InitCommand=cmd(x,-192;zoom,0.9);
|
||||
-- Main Shadow
|
||||
LoadActor( gc:GetName() ) .. {
|
||||
InitCommand=cmd(x,2;y,2;diffuse,Color("Black");diffusealpha,0;zoom,0.75);
|
||||
GainFocusCommand=cmd(stoptweening;stopeffect;smooth,0.1;diffusealpha,0;zoom,1;decelerate,0.05;diffusealpha,0.5;pulse;effecttiming,0.75,0.125,0.125,0.75;effectmagnitude,0.95,1,1;);
|
||||
LoseFocusCommand=cmd(stoptweening;stopeffect;smooth,0.2;diffusealpha,0;zoom,0.75;);
|
||||
OffFocusedCommand=cmd(finishtweening;stopeffect;glow,ModeIconColors[gc:GetName()];decelerate,0.5;rotationy,360;);
|
||||
};
|
||||
-- Main Emblem
|
||||
LoadActor( gc:GetName() ) .. {
|
||||
InitCommand=cmd(diffusealpha,0;zoom,0.75);
|
||||
GainFocusCommand=cmd(stoptweening;stopeffect;smooth,0.1;diffusealpha,1;zoom,1;glow,Color("White");decelerate,0.05;glow,Color("Invisible");pulse;effecttiming,0.75,0.125,0.125,0.75;effectmagnitude,0.95,1,1;);
|
||||
LoseFocusCommand=cmd(stoptweening;stopeffect;smooth,0.2;diffusealpha,0;zoom,0.75;glow,Color("Invisible"));
|
||||
GainFocusCommand=cmd(finishtweening;stopeffect;diffusealpha,1;zoom,1;glow,Color("White");decelerate,0.5;glow,Color("Invisible");pulse;effecttiming,0.75,0.125,0.125,0.75;effectmagnitude,0.95,1,1;);
|
||||
LoseFocusCommand=cmd(finishtweening;stopeffect;smooth,0.4;diffusealpha,0;zoom,0.75;glow,Color("Invisible"));
|
||||
OffFocusedCommand=cmd(finishtweening;stopeffect;glow,ModeIconColors[gc:GetName()];decelerate,0.5;rotationy,360;glow,Color("Invisible"));
|
||||
};
|
||||
};
|
||||
@@ -49,20 +42,20 @@ t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=cmd(x,-192/2;y,-10);
|
||||
Def.Quad {
|
||||
InitCommand=cmd(horizalign,left;y,20;zoomto,320,2;diffuse,ModeIconColors[gc:GetName()];diffusealpha,0;fadeleft,0.35;faderight,0.35);
|
||||
GainFocusCommand=cmd(stoptweening;linear,0.1;diffusealpha,1);
|
||||
GainFocusCommand=cmd(stoptweening;linear,0.5;diffusealpha,1);
|
||||
LoseFocusCommand=cmd(stoptweening;linear,0.1;diffusealpha,0);
|
||||
};
|
||||
LoadFont("_helveticaneuelt std extblk cn 42px") .. {
|
||||
Text=gc:GetText();
|
||||
InitCommand=cmd(horizalign,left;diffuse,ModeIconColors[gc:GetName()];shadowcolor,ColorDarkTone(ModeIconColors[gc:GetName()]);shadowlength,2;diffusealpha,0;skewx,-0.125);
|
||||
GainFocusCommand=cmd(stoptweening;x,-32;decelerate,0.1;diffusealpha,1;x,0);
|
||||
LoseFocusCommand=cmd(stoptweening;x,0;accelerate,0.1;diffusealpha,0;x,32;diffusealpha,0);
|
||||
GainFocusCommand=cmd(finishtweening;x,-16;diffuse,ColorLightTone(ModeIconColors[gc:GetName()]);decelerate,0.45;diffusealpha,1;x,0;diffuse,ModeIconColors[gc:GetName()]);
|
||||
LoseFocusCommand=cmd(finishtweening;x,0;accelerate,0.4;diffusealpha,0;x,32;diffusealpha,0);
|
||||
};
|
||||
LoadFont("_helveticaneuelt std extblk cn 42px") .. {
|
||||
Text=THEME:GetString(Var "LoadingScreen", gc:GetName() .. "Explanation");
|
||||
InitCommand=cmd(horizalign,right;x,320;y,30;shadowlength,1;diffusealpha,0;skewx,-0.125;zoom,0.5);
|
||||
GainFocusCommand=cmd(stoptweening;x,320+32;decelerate,0.1;diffusealpha,1;x,320);
|
||||
LoseFocusCommand=cmd(stoptweening;x,320;accelerate,0.1;diffusealpha,0;x,320-32;diffusealpha,0);
|
||||
GainFocusCommand=cmd(finishtweening;x,320+16;decelerate,0.45;diffusealpha,1;x,320);
|
||||
LoseFocusCommand=cmd(finishtweening;x,320;accelerate,0.4;diffusealpha,0;x,320-32;diffusealpha,0);
|
||||
};
|
||||
};
|
||||
t.GainFocusCommand=cmd(finishtweening;visible,true;zoom,1.1;decelerate,0.25;zoom,1);
|
||||
|
||||
Reference in New Issue
Block a user