Highlight the receptors when pressed.
This commit is contained in:
@@ -1 +1,13 @@
|
|||||||
return LoadActor( NOTESKIN:GetPath("", "_Tap Receptor"), NOTESKIN:LoadActor( Var "Button", "Go Receptor" ) );
|
local t = Def.ActorFrame {
|
||||||
|
LoadActor( "Down Go Receptor" )..{
|
||||||
|
InitCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'InitCommand');
|
||||||
|
NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand');
|
||||||
|
};
|
||||||
|
LoadActor( "Down Go Receptor" )..{
|
||||||
|
InitCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'InitCommand');
|
||||||
|
PressCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'PressCommand');
|
||||||
|
LiftCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'LiftCommand');
|
||||||
|
NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand');
|
||||||
|
};
|
||||||
|
};
|
||||||
|
return t;
|
||||||
|
|||||||
@@ -59,4 +59,10 @@ HeldCommand=diffuse,1.0,1.0,0.3,1;zoom,1;decelerate,0.1;zoom,1.1;decelerate,0.1;
|
|||||||
W3Command=
|
W3Command=
|
||||||
W2Command=
|
W2Command=
|
||||||
W1Command=
|
W1Command=
|
||||||
|
InitCommand=effectclock,"beat";diffuseramp;effectcolor1,color("0.8,0.8,0.8,1");effectcolor2,color("1,1,1,1");effecttiming,0.2,0,0.8,0;effectoffset,0.05
|
||||||
|
NoneCommand=zoom,0.8;linear,0.1;zoom,1
|
||||||
|
|
||||||
|
[ReceptorOverlay]
|
||||||
|
InitCommand=diffusealpha,0
|
||||||
|
PressCommand=blend,"BlendMode_Add";diffusealpha,0.6
|
||||||
|
LiftCommand=diffusealpha,0
|
||||||
Reference in New Issue
Block a user