Revert "Handle noteskin lua. Thanks to Jousway."

This reverts commit 1532c4e5ab.
This commit is contained in:
Jason Felds
2013-07-18 18:02:18 -04:00
parent fb5db73c45
commit ef1190e3db
108 changed files with 1111 additions and 1940 deletions
+3 -14
View File
@@ -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" ) );