Revert "Handle noteskin lua. Thanks to Jousway."
This reverts commit 1532c4e5ab.
This commit is contained in:
@@ -1,21 +1,10 @@
|
||||
return Def.ActorFrame {
|
||||
-- We want this under the noteskin, so that we it looks like a laser (?)
|
||||
LoadActor( NOTESKIN:GetPath("", "_Tap Receptor"), NOTESKIN:LoadActor( Var "Button", "KeypressBlock" ) ) .. {
|
||||
InitCommand=function(self)
|
||||
self:vertalign(top);
|
||||
self:zoomx(0);
|
||||
end;
|
||||
InitCommand=cmd(vertalign,top;zoomx,0);
|
||||
-- Press/Lift allows this to appear and disappear
|
||||
PressCommand=function(self)
|
||||
self:zoomx(0);
|
||||
self:linear(0.02);
|
||||
self:zoomx(1);
|
||||
end;
|
||||
LiftCommand=function(self)
|
||||
self:zoomx(1);
|
||||
self:linear(0.14);
|
||||
self:zoomx(0);
|
||||
end;
|
||||
PressCommand=cmd(zoomx,0;linear,0.02;zoomx,1);
|
||||
LiftCommand=cmd(zoomx,1;linear,0.14;zoomx,0);
|
||||
};
|
||||
-- Overlay the receptor.
|
||||
LoadActor( NOTESKIN:GetPath("", "_Tap Receptor"), NOTESKIN:LoadActor( Var "Button", "Go Receptor" ) );
|
||||
|
||||
Reference in New Issue
Block a user