Revert "Handle noteskin lua. Thanks to Jousway."
This reverts commit 1532c4e5ab.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
return LoadActor("_CenterHit")..{
|
||||
InitCommand=function(self)
|
||||
self:x(2);
|
||||
self:y(2);
|
||||
end;
|
||||
return LoadActor("_CenterHit")..{
|
||||
InitCommand=cmd(x,2;y,2);
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
return LoadActor("_DownLeftHit")..{
|
||||
InitCommand=fnction(self)
|
||||
self:y(5);
|
||||
self:x(2);
|
||||
end;
|
||||
return LoadActor("_DownLeftHit")..{
|
||||
InitCommand=cmd(y,5;x,2);
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
OnCommand=function(self)
|
||||
self:x(-2);
|
||||
self:zoomx(-1);
|
||||
end;
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
OnCommand=cmd(x,-2;zoomx,-1);
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
|
||||
Frames = {
|
||||
{ Frame = 0 };
|
||||
{ Frame = 1 };
|
||||
{ Frame = 2 };
|
||||
};
|
||||
return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
|
||||
Frames = {
|
||||
{ Frame = 0 };
|
||||
{ Frame = 1 };
|
||||
{ Frame = 2 };
|
||||
};
|
||||
--InitCommand=cmd(rotationy,180);
|
||||
};
|
||||
@@ -1,2 +1,3 @@
|
||||
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{
|
||||
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{
|
||||
--InitCommand=cmd(rotationy,180);
|
||||
};
|
||||
@@ -1,113 +1,40 @@
|
||||
return Def.ActorFrame {
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:blend(Blend.Add);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
|
||||
NoneCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
PressCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W1Command=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("W2");
|
||||
end;
|
||||
W2Command=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W3Command=function(self)
|
||||
self:setstate(1);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W4Command=function(self)
|
||||
self:setstate(2);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W5Command=function(self) end;
|
||||
HitMineCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
HeldCommand=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
GlowCommand=function(self)
|
||||
self:stoptweening();
|
||||
self:zoom(1.05);
|
||||
self:diffusealpha(1);
|
||||
self:linear(0.25);
|
||||
self:zoom(1.1);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:blend(Blend.Add);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
|
||||
NoneCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
PressCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W1Command=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("W2");
|
||||
end;
|
||||
W2Command=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W3Command=function(self)
|
||||
self:setstate(1);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W4Command=function(self)
|
||||
self:setstate(2);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
W5Command=function(self) end;
|
||||
HitMineCommand=function(self)
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
HeldCommand=function(self)
|
||||
self:setstate(0);
|
||||
self:playcommand("Glow");
|
||||
end;
|
||||
GlowCommand=function(self)
|
||||
self:stoptweening();
|
||||
self:zoom(1);
|
||||
self:diffusealpha(0.4);
|
||||
self:linear(0.3);
|
||||
self:zoom(1.2);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:zoom(1.1);
|
||||
self:blend(Blend.Add);
|
||||
self:visible(false);
|
||||
end;
|
||||
HoldingOnCommand=function(self)
|
||||
self:visible(true);
|
||||
end;
|
||||
HoldingOffCommand=function(self)
|
||||
self:visible(false);
|
||||
end;
|
||||
};
|
||||
|
||||
|
||||
return Def.ActorFrame {
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
|
||||
|
||||
NoneCommand=cmd(playcommand,"Glow");
|
||||
PressCommand=cmd(playcommand,"Glow");
|
||||
W1Command=cmd(setstate,0;playcommand,"W2");
|
||||
W2Command=cmd(setstate,0;playcommand,"Glow");
|
||||
W3Command=cmd(setstate,1;playcommand,"Glow");
|
||||
W4Command=cmd(setstate,2;playcommand,"Glow");
|
||||
W5Command=cmd();
|
||||
HitMineCommand=cmd(playcommand,"Glow");
|
||||
HeldCommand=cmd(setstate,0;playcommand,"Glow");
|
||||
GlowCommand=cmd(stoptweening,zoom,1.05;diffusealpha,1;linear,0.25;zoom,1.1;diffusealpha,0);
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
|
||||
|
||||
NoneCommand=cmd(playcommand,"Glow");
|
||||
PressCommand=cmd(playcommand,"Glow");
|
||||
W1Command=cmd(setstate,0;playcommand,"W2");
|
||||
W2Command=cmd(setstate,0;playcommand,"Glow");
|
||||
W3Command=cmd(setstate,1;playcommand,"Glow");
|
||||
W4Command=cmd(setstate,2;playcommand,"Glow");
|
||||
W5Command=cmd();
|
||||
HitMineCommand=cmd(playcommand,"Glow");
|
||||
HeldCommand=cmd(setstate,0;playcommand,"Glow");
|
||||
GlowCommand=cmd(stoptweening,zoom,1;diffusealpha,0.4;linear,0.3;zoom,1.2;diffusealpha,0);
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
|
||||
InitCommand=cmd(animate,0;zoom,1.1;blend,Blend.Add;visible,false);
|
||||
HoldingOnCommand=cmd(visible,true);
|
||||
HoldingOffCommand=cmd(visible,false);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
@@ -1,8 +1,3 @@
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
InitCommand=function(self)
|
||||
self:rotationy(180);
|
||||
self:rotationz(180);
|
||||
self:y(-6);
|
||||
self:x(2);
|
||||
end;
|
||||
}
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
InitCommand=cmd(rotationy,180;rotationz,180;y,-6;x,2);
|
||||
}
|
||||
|
||||
@@ -1,53 +1,22 @@
|
||||
return Def.ActorFrame {
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Base";
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:setstate(0);
|
||||
end;
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Glow";
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:setstate(1);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:effectclock("bgm");
|
||||
self:diffuseshift();
|
||||
self:effectcolor1(color("#FFFFFFFF"));
|
||||
self:effectcolor2(color("#FFFFFF00"));
|
||||
self:effecttiming(1, 0, 0, 0);
|
||||
end;
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Tap";
|
||||
InitCommand=function(self)
|
||||
self:animate(0);
|
||||
self:setstate(2);
|
||||
self:zoom(1);
|
||||
self:diffusealpha(0);
|
||||
self:blend('BlendMode_Add');
|
||||
end;
|
||||
PressCommand=function(self)
|
||||
self:diffuse(color("#FFFFAA"));
|
||||
self:stoptweening();
|
||||
self:zoom(1.1);
|
||||
self:linear(0.1);
|
||||
self:diffusealpha(0.6);
|
||||
self:zoom(1);
|
||||
end;
|
||||
LiftCommand=function(self)
|
||||
self:diffuse(color("#FFFFAA"));
|
||||
self:stoptweening();
|
||||
self:diffusealpha(0.6);
|
||||
self:zoom(1);
|
||||
self:linear(0.15);
|
||||
self:zoom(1.2);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
}
|
||||
return Def.ActorFrame {
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Base";
|
||||
InitCommand=cmd(animate,0;setstate,0);
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Glow";
|
||||
InitCommand=cmd(animate,0;setstate,1);
|
||||
OnCommand=cmd(effectclock,"bgm";diffuseshift;effectcolor1,color("#FFFFFFFF");effectcolor2,color("#FFFFFF00");effecttiming,1,0,0,0);
|
||||
};
|
||||
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Tap";
|
||||
InitCommand=cmd(animate,0;setstate,2;zoom,1;diffusealpha,0;blend,'BlendMode_Add');
|
||||
PressCommand=cmd(diffuse,color("#FFFFAA");stoptweening;zoom,1.1;linear,0.1;diffusealpha,0.6;zoom,1);
|
||||
LiftCommand=cmd(diffuse,color("#FFFFAA");stoptweening;diffusealpha,0.6;zoom,1;linear,0.15;zoom,1.2;diffusealpha,0);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
--Vin.il was here... =)
|
||||
@@ -1,50 +1,26 @@
|
||||
local t = Def.ActorFrame{}
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Base");
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Fill")..{
|
||||
InitCommand=function(self)
|
||||
self:diffuseshift();
|
||||
self:effectcolor1(color("#FFFFFFFF"));
|
||||
self:effectcolor2(color("#FFFFFF22"));
|
||||
self:effectclock("bgm");
|
||||
self:effectperiod(2);
|
||||
end;
|
||||
}
|
||||
t[#t+1] = LoadActor("Mine_Fill")..{
|
||||
InitCommand=function(self)
|
||||
self:blend(Blend.Add);
|
||||
self:diffuseshift();
|
||||
self:effectcolor1(color("#FFFFFFFF"));
|
||||
self:effectcolor2(color("#FFFFFF22"));
|
||||
self:effectclock("bgm");
|
||||
self:effectperiod(2);
|
||||
end;
|
||||
}
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Border")..{
|
||||
InitCommand=function(self)
|
||||
self:spin();
|
||||
self:effectmagnitude(0, 0, 36);
|
||||
end;
|
||||
}
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Overlay");
|
||||
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Light")..{
|
||||
InitCommand=function(self)
|
||||
self:blend(Blend.Add);
|
||||
self:diffuseshift();
|
||||
self:effectcolor1(color("#FFFFFF55"));
|
||||
self:effectcolor2(color("#FFFFFF00"));
|
||||
self:effectclock("bgm");
|
||||
self:zoom(1.15);
|
||||
self:effectperiod(2);
|
||||
end;
|
||||
}
|
||||
|
||||
local t = Def.ActorFrame{}
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Base");
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Fill")..{
|
||||
InitCommand=cmd(diffuseshift;effectcolor1,color("#FFFFFFFF");effectcolor2,color("#FFFFFF22");effectclock,"bgm";effectperiod,2);
|
||||
}
|
||||
t[#t+1] = LoadActor("Mine_Fill")..{
|
||||
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#FFFFFFFF");effectcolor2,color("#FFFFFF22");effectclock,"bgm";effectperiod,2);
|
||||
}
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Border")..{
|
||||
InitCommand=cmd(spin;effectmagnitude,0,0,36);
|
||||
}
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Overlay");
|
||||
|
||||
|
||||
|
||||
t[#t+1] = LoadActor("Mine_Light")..{
|
||||
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#FFFFFF55");effectcolor2,color("#FFFFFF00");effectclock,"bgm";zoom,1.15;effectperiod,2);
|
||||
}
|
||||
|
||||
return t
|
||||
@@ -1,8 +1,3 @@
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
InitCommand=function(self)
|
||||
self:rotationy(180);
|
||||
self:rotationz(180);
|
||||
self:y(-6);
|
||||
self:x(-2);
|
||||
end;
|
||||
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
|
||||
InitCommand=cmd(rotationy,180;rotationz,180;y,-6;x,-2);
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
return NOTESKIN:LoadActor("UpLeft", "Ready Receptor")..{
|
||||
Frames = {
|
||||
{ Frame = 0 };
|
||||
{ Frame = 1 };
|
||||
{ Frame = 2 };
|
||||
};
|
||||
return NOTESKIN:LoadActor("UpLeft", "Ready Receptor")..{
|
||||
Frames = {
|
||||
{ Frame = 0 };
|
||||
{ Frame = 1 };
|
||||
{ Frame = 2 };
|
||||
};
|
||||
--InitCommand=cmd(rotationy,180);
|
||||
};
|
||||
@@ -1,2 +1,4 @@
|
||||
return NOTESKIN:LoadActor("UpLeft","Tap Note")..{
|
||||
return NOTESKIN:LoadActor("UpLeft","Tap Note")..{
|
||||
--InitCommand=cmd(rotationy,180);
|
||||
--BaseRotationY=180;
|
||||
};
|
||||
Reference in New Issue
Block a user