Highlight the receptors when pressed.

This commit is contained in:
Colby Klein
2008-07-01 02:56:41 +00:00
parent 4028164799
commit 7227081c39
2 changed files with 19 additions and 1 deletions
@@ -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=
W2Command=
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