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" ) );
+11 -47
View File
@@ -1,59 +1,29 @@
local t = Def.ActorFrame { };
t[#t+1] = NOTESKIN:LoadActor( Var "Button", "Hold Explosion" ) .. {
HoldingOnCommand=function(self)
self:visible(true);
end;
HoldingOffCommand=function(self)
self:visible(false);
end;
InitCommand=function(self)
self:visible(false);
self:finishtweening();
self:blend("BlendMode_Add");
end;
HoldingOnCommand=cmd(visible,true);
HoldingOffCommand=cmd(visible,false);
InitCommand=cmd(visible,false;finishtweening;blend,"BlendMode_Add");
Frames = Sprite.LinearFrames(
NOTESKIN:GetMetricF( "GhostArrowDim", "HoldFrames" ),
NOTESKIN:GetMetricF( "GhostArrowDim", "HoldSeconds" ) );
};
t[#t+1] = NOTESKIN:LoadActor( Var "Button", "Roll Explosion" ) .. {
RollOnCommand=function(self)
self:visible(true);
end;
RollOffCommand=function(self)
self:visible(false);
end;
InitCommand=function(self)
self:visible(false);
self:finishtweening();
self:blend("BlendMode_Add");
end;
RollOnCommand=cmd(visible,true);
RollOffCommand=cmd(visible,false);
InitCommand=cmd(visible,false;finishtweening;blend,"BlendMode_Add");
Frames = Sprite.LinearFrames(
NOTESKIN:GetMetricF( "GhostArrowDim", "HoldFrames" ),
NOTESKIN:GetMetricF( "GhostArrowDim", "HoldSeconds" ) );
};
t[#t+1] = NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
InitCommand=function(self)
self:diffusealpha(0);
self:blend("BlendMode_Add");
end;
HeldCommand=function(self)
self:zoom(1);
self:linear(0.06);
self:zoom(1.1);
self:linear(0.06);
self:diffusealpha(0);
end;
InitCommand=cmd(diffusealpha,0;blend,"BlendMode_Add");
HeldCommand=cmd(zoom,1;linear,0.06;zoom,1.1;linear,0.06;diffusealpha,0);
ColumnJudgmentCommand=function(self, params)
if params.TapNoteScore == "TapNoteScore_HitMine" then return; end
self:finishtweening();
self:loop(0);
self:diffusealpha(1);
self:setstate(0);
self:sleep(self:GetAnimationLengthSeconds()-0.001);
self:diffusealpha(0);
(cmd(finishtweening;loop,0;diffusealpha,1;setstate,0;sleep,self:GetAnimationLengthSeconds()-0.001;diffusealpha,0))(self);
end;
Frames = Sprite.LinearFrames(
NOTESKIN:GetMetricF( "GhostArrowDim", "JudgmentFrames" ),
@@ -61,9 +31,7 @@ t[#t+1] = NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
};
local mine = NOTESKIN:LoadActor( Var "Button", "HitMine Explosion" ) .. {
InitCommand=function(self)
self:diffusealpha(0);
end;
InitCommand=cmd(diffusealpha,0);
Frames = Sprite.LinearFrames(
NOTESKIN:GetMetricF( "GhostArrowDim", "MineFrames" ),
NOTESKIN:GetMetricF( "GhostArrowDim", "MineSeconds" ) );
@@ -79,11 +47,7 @@ t[#t+1] = Def.ActorFrame {
local c = self:GetChild(Next);
Next = Next == "1" and "2" or "1";
c:stoptweening();
c:setstate(0);
c:diffusealpha(1);
c:sleep(self:GetAnimationLengthSeconds()-0.001);
c:diffusealpha(0);
(cmd(stoptweening;setstate,0;diffusealpha,1;sleep,self:GetAnimationLengthSeconds()-0.001;diffusealpha,0))(c);
end;
};
@@ -4,30 +4,18 @@ return Def.ActorFrame {
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:playcommand("Set");
end;
GameplayLeadInChangedMessageCommand=function(self)
self:playcommand("Set");
end;
SetCommand=function(self)
self:visible(GAMESTATE:GetGameplayLeadIn());
end;
InitCommand=cmd(playcommand, "Set");
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=cmd(visible,GAMESTATE:GetGameplayLeadIn());
};
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Go Receptor") ) .. {
Frame0000=0;
Delay0000=0;
InitCommand=function(self)
self:playcommand("Set");
end;
GameplayLeadInChangedMessageCommand=function(self)
self:playcommand("Set");
end;
SetCommand=function(self)
self:visible(not GAMESTATE:GetGameplayLeadIn());
end;
InitCommand=cmd(playcommand, "Set");
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=cmd(visible,not GAMESTATE:GetGameplayLeadIn());
};
}
}
@@ -1,12 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath( '_center', 'explosion' );
InitCommand=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
InitCommand=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
};
@@ -1,48 +1,8 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath( '_center', 'explosion' );
W1Command=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
W2Command=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
W3Command=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
W4Command=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
W5Command=function(self)
self:blend("BlendMode_Add");
self:finishtweening();
self:diffusealpha(0.2);
self:zoom(0.6);
self:linear(0.1);
self:diffusealpha(0);
self:zoom(0.8);
end;
W1Command=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
W2Command=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
W3Command=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
W4Command=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
W5Command=cmd(blend,"BlendMode_Add";finishtweening;diffusealpha,0.2;zoom,0.6;linear,0.1;diffusealpha,0;zoom,0.8);
};
@@ -1,4 +1,4 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
@@ -7,13 +7,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( "_centerp1", "Tap Note" );
Frame0000=99;
Delay0000=1;
InitCommand=function(self)
self:glowblink();
self:effectcolor1(0.4, 0.4, 0.4, 0.4);
self:effectcolor2(0.8, 0.8, 0.8, 0.4);
self:effectclock('beat');
self:effecttiming(0.2, 0, 0.8, 0);
end;
InitCommand=cmd(;glowblink;effectcolor1,0.4,0.4,0.4,0.4;effectcolor2,0.8,0.8,0.8,0.4;effectclock,'beat';effecttiming,0.2,0,0.8,0);
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
@@ -2,11 +2,5 @@ return Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'explosion' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:diffuseblink();
self:effectcolor1(1, 1, 1, 0.8);
self:effectcolor2(1, 1, 1, 1);
self:effectclock('beat');
self:effectperiod(0.25);
end;
InitCommand=cmd(diffuseblink;effectcolor1,1,1,1,0.8;effectcolor2,1,1,1,1;effectclock,'beat';effectperiod,0.25);
};
+2 -8
View File
@@ -1,4 +1,4 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
@@ -7,13 +7,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( "_Down", "Tap Note" );
Frame0000=69;
Delay0000=1;
InitCommand=function(self)
self:glowblink();
self:effectcolor1(0.4, 0.4, 0.4, 0.4);
self:effectcolor2(0.8, 0.8, 0.8, 0.4);
self:effectclock('beat');
self:effecttiming(0.2, 0, 0.8, 0);
end;
InitCommand=cmd(;glowblink;effectcolor1,0.4,0.4,0.4,0.4;effectcolor2,0.8,0.8,0.8,0.4;effectclock,'beat';effecttiming,0.2,0,0.8,0);
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+3 -16
View File
@@ -2,30 +2,17 @@ local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap mine underlay' );
Frames = Sprite.LinearFrames( 1, 1 );
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(0.4, 0, 0, 1);
self:effectcolor2(1, 0, 0, 1);
self:effectclock('beat');
end;
InitCommand=cmd(diffuseshift;effectcolor1,0.4,0,0,1;effectcolor2,1,0,0,1;effectclock,'beat');
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap mine base' );
Frames = Sprite.LinearFrames( 1, 1 );
InitCommand=function(self)
self:spin();
self:effectclock('beat');
self:effectmagnitude(0, 0, 80);
end;
InitCommand=cmd(spin;effectclock,'beat';effectmagnitude,0,0,80);
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap mine overlay' );
Frames = Sprite.LinearFrames( 1, 1 );
InitCommand=function(self)
self:spin();
self:effectclock('beat');
self:effectmagnitude(0, 0, -40);
end;
InitCommand=cmd(spin;effectclock,'beat';effectmagnitude,0,0,-40);
};
};
return t;
@@ -1,4 +1,4 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
@@ -7,13 +7,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( "_downleftp1", "Tap Note" );
Frame0000=99;
Delay0000=1;
InitCommand=function(self)
self:glowblink();
self:effectcolor1(0.4, 0.4, 0.4, 0.4);
self:effectcolor2(0.8, 0.8, 0.8, 0.4);
self:effectclock('beat');
self:effecttiming(0.2, 0, 0.8, 0);
end;
InitCommand=cmd(;glowblink;effectcolor1,0.4,0.4,0.4,0.4;effectcolor2,0.8,0.8,0.8,0.4;effectclock,'beat';effecttiming,0.2,0,0.8,0);
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+2 -10
View File
@@ -167,11 +167,7 @@ function ret.Load()
if Var "Button" == "UpLeft" and string.find(sElement, "Head") then t.BaseRotationZ = nil; end
if Var "Button" == "UpRight" and string.find(sElement, "Head") then t.BaseRotationZ = nil; end
elseif GAMESTATE:GetCurrentGame():GetName() == "techno" then
if Var "Element" == "Tap Mine" then
t.InitCommand=function(self)
self:zoom(-0.8);
end;
end
if Var "Element" == "Tap Mine" then t.InitCommand=cmd(zoom,-0.8); end
elseif GAMESTATE:GetCurrentGame():GetName() == "pump" then
--Because the images for Pump it up are using the DownLeft for every direction aside from center, We let it be rotated here
--Because the rotate table is set up for dance and these are for PIU
@@ -179,11 +175,7 @@ function ret.Load()
if Var "Button" == "UpRight" then t.BaseRotationZ = 180; end
if Var "Button" == "DownLeft" then t.BaseRotationZ = nil; end
if Var "Button" == "DownRight" then t.BaseRotationZ = -90; end
if Var "Element" == "Tap Mine" then
t.InitCommand=function(self)
self:zoom(-0.8);
end;
end
if Var "Element" == "Tap Mine" then t.InitCommand=cmd(zoom,-0.8); end
end
return t;
end
@@ -3,15 +3,13 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_upleftsolo', 'underlay' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self) end;
InitCommand=cmd();
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap note' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:rotationz(135);
end;
InitCommand=cmd(rotationz,135);
};
};
return t;
@@ -3,15 +3,13 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_upleftsolo', 'underlay' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self) end;
InitCommand=cmd();
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap note' );
Frame0000=1;
Delay0000=1;
InitCommand=function(self)
self:rotationz(135);
end;
InitCommand=cmd(rotationz,135);
};
};
return t;
@@ -3,17 +3,13 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_upleftsolo', 'underlay' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:zoomx(-1);
end;
InitCommand=cmd(zoomx,-1);
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap note' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:rotationz(-135);
end;
InitCommand=cmd(rotationz,-135);
};
};
return t;
@@ -3,17 +3,13 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_upleftsolo', 'underlay' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:zoomx(-1);
end;
InitCommand=cmd(zoomx,-1);
};
Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap note' );
Frame0000=1;
Delay0000=1;
InitCommand=function(self)
self:rotationz(-135);
end;
InitCommand=cmd(rotationz,-135);
};
};
return t;
+11 -36
View File
@@ -2,64 +2,39 @@ local t = Def.ActorFrame {
NOTESKIN:LoadActor( Var "Button", "Hold Explosion" ) .. {
HoldingOnCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "HoldingOnCommand");
HoldingOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "HoldingOffCommand");
InitCommand=function(self)
self:playcommand("HoldingOff");
self:finishtweening();
end;
InitCommand=cmd(playcommand,"HoldingOff";finishtweening);
};
NOTESKIN:LoadActor( Var "Button", "Roll Explosion" ) .. {
RollOnCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOnCommand");
RollOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOffCommand");
InitCommand=function(self)
self:playcommand("RollOff");
self:finishtweening();
end;
InitCommand=cmd(playcommand,"RollOff";finishtweening);
};
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
InitCommand=function(self)
self:diffusealpha(0);
end;
InitCommand=cmd(diffusealpha,0);
W5Command=NOTESKIN:GetMetricA("GhostArrowDim", "W5Command");
W4Command=NOTESKIN:GetMetricA("GhostArrowDim", "W4Command");
W3Command=NOTESKIN:GetMetricA("GhostArrowDim", "W3Command");
W2Command=NOTESKIN:GetMetricA("GhostArrowDim", "W2Command");
W1Command=NOTESKIN:GetMetricA("GhostArrowDim", "W1Command");
HeldCommand=NOTESKIN:GetMetricA("GhostArrowDim", "HeldCommand");
JudgmentCommand=function(self)
self:finishtweening();
end;
BrightCommand=function(self)
self:visible(false);
end;
DimCommand=function(self)
self:visible(true);
end;
JudgmentCommand=cmd(finishtweening);
BrightCommand=cmd(visible,false);
DimCommand=cmd(visible,true);
};
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Bright" ) .. {
InitCommand=function(self)
self:diffusealpha(0);
end;
InitCommand=cmd(diffusealpha,0);
W5Command=NOTESKIN:GetMetricA("GhostArrowBright", "W5Command");
W4Command=NOTESKIN:GetMetricA("GhostArrowBright", "W4Command");
W3Command=NOTESKIN:GetMetricA("GhostArrowBright", "W3Command");
W2Command=NOTESKIN:GetMetricA("GhostArrowBright", "W2Command");
W1Command=NOTESKIN:GetMetricA("GhostArrowBright", "W1Command");
HeldCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HeldCommand");
JudgmentCommand=function(self)
self:finishtweening();
end;
BrightCommand=function(self)
self:visible(true);
end;
DimCommand=function(self)
self:visible(false);
end;
JudgmentCommand=cmd(finishtweening);
BrightCommand=cmd(visible,true);
DimCommand=cmd(visible,false);
};
NOTESKIN:LoadActor( Var "Button", "HitMine Explosion" ) .. {
InitCommand=function(self)
self:blend("BlendMode_Add");
self:diffusealpha(0);
end;
InitCommand=cmd(blend,"BlendMode_Add";diffusealpha,0);
HitMineCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HitMineCommand");
};
}
+1 -3
View File
@@ -35,9 +35,7 @@ local function func()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end
@@ -4,15 +4,9 @@ return Def.ActorFrame {
{ Frame = 2; Delay = 1; };
};
InitCommand=function(self)
self:playcommand("Set");
end;
GameplayLeadInChangedMessageCommand=function(self)
self:playcommand("Set");
end;
SetCommand=function(self)
self:visible(GAMESTATE:GetGameplayLeadIn());
end;
InitCommand=cmd(playcommand, "Set");
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=cmd(visible,GAMESTATE:GetGameplayLeadIn());
};
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Go Receptor") ) .. {
@@ -22,14 +16,8 @@ return Def.ActorFrame {
{ Frame = 2; };
};
InitCommand=function(self)
self:playcommand("Set");
end;
GameplayLeadInChangedMessageCommand=function(self)
self:playcommand("Set");
end;
SetCommand=function(self)
self:visible(not GAMESTATE:GetGameplayLeadIn());
end;
InitCommand=cmd(playcommand, "Set");
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=cmd(visible,not GAMESTATE:GetGameplayLeadIn());
};
}
+1 -3
View File
@@ -1,9 +1,7 @@
local File = ...;
return LoadActor( File ) .. {
InitCommand=function(self)
self:playcommand("Lift");
end;
InitCommand=cmd(playcommand,"Lift");
ReverseOnCommand=NOTESKIN:GetMetricA("Press", "ReverseOnCommand");
ReverseOffCommand=NOTESKIN:GetMetricA("Press", "ReverseOffCommand");
PressCommand=NOTESKIN:GetMetricA("Press", "PressCommand");
+1 -6
View File
@@ -3,12 +3,7 @@ local t = Def.ActorFrame {
Texture="_arrow";
Frame0000=7;
Delay0000=1;
InitCommand=function(self)
self:animate(false);
self:pulse();
self:effectclock("beat");
self:effectmagnitude(0.9, 1, 1);
end;
InitCommand=cmd(animate,false;pulse;effectclock,"beat";effectmagnitude,0.9,1,1);
};
};
return t;
+4 -32
View File
@@ -8,53 +8,25 @@ local t = Def.ActorFrame {
Texture="_circle";
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:y(15);
self:effectclock("beat");
self:diffuseramp();
self:effectcolor1(color("1,1,1,0"));
self:effectcolor2(color("1,1,1,0.35"));
self:effectoffset(0);
end;
InitCommand=cmd(y,15;effectclock,"beat";diffuseramp;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.35");effectoffset,0);
};
Def.Sprite {
Texture="_circle";
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:y(5);
self:effectclock("beat");
self:diffuseramp();
self:effectcolor1(color("1,1,1,0"));
self:effectcolor2(color("1,1,1,0.35"));
self:effectoffset(0.25);
end;
InitCommand=cmd(y,5;effectclock,"beat";diffuseramp;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.35");effectoffset,0.25);
};
Def.Sprite {
Texture="_circle";
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:y(-5);
self:effectclock("beat");
self:diffuseramp();
self:effectcolor1(color("1,1,1,0"));
self:effectcolor2(color("1,1,1,0.35"));
self:effectoffset(0.5);
end;
InitCommand=cmd(y,-5;effectclock,"beat";diffuseramp;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.35");effectoffset,0.5);
};
Def.Sprite {
Texture="_circle";
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:y(-15);
self:effectclock("beat");
self:diffuseramp();
self:effectcolor1(color("1,1,1,0"));
self:effectcolor2(color("1,1,1,0.35"));
self:effectoffset(0.75);
end;
InitCommand=cmd(y,-15;effectclock,"beat";diffuseramp;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.35");effectoffset,0.75);
};
};
return t;
+2 -4
View File
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_Center", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+2 -4
View File
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_Down", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+2 -4
View File
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_DownLeft", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+2 -4
View File
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_Center", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
+2 -4
View File
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_Down", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
@@ -1,13 +1,11 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath("_DownLeft", "Go Receptor" );
InitCommand=function(self)
self:effectclock("beat");
end;
InitCommand=cmd(effectclock,"beat");
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Down','Hold Head Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,1"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,1"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Down','Roll Head Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,1"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,1"));
};
@@ -3,11 +3,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_down', 'tap mine' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:spin();
self:effectclock('beat');
self:effectmagnitude(0, 0, -180);
end;
InitCommand=cmd(spin;effectclock,'beat';effectmagnitude,0,0,-180);
};
};
return t;
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Left','Hold BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Left','Roll BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Up','Hold BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Up','Roll BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Down','Hold Head Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,1"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,1"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Down','Roll Head Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,1"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,1"));
};
+1 -5
View File
@@ -3,11 +3,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_down', 'tap mine' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:spin();
self:effectclock('beat');
self:effectmagnitude(0, 0, -180);
end;
InitCommand=cmd(spin;effectclock,'beat';effectmagnitude,0,0,-180);
};
};
return t;
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Left','Hold BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Left','Roll BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Up','Hold BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
@@ -1,6 +1,4 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath('Up','Roll BottomCap Active');
InitCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,0.5"));
end;
InitCommand=cmd(diffuse,color("0.5,0.5,0.5,0.5"));
};
+1 -5
View File
@@ -3,11 +3,7 @@ local t = Def.ActorFrame {
Texture=NOTESKIN:GetPath( '_down', 'tap mine' );
Frame0000=0;
Delay0000=1;
InitCommand=function(self)
self:spin();
self:effectclock('beat');
self:effectmagnitude(0, 0, -180);
end;
InitCommand=cmd(spin;effectclock,'beat';effectmagnitude,0,0,-180);
};
};
return t;
+1 -3
View File
@@ -1,9 +1,7 @@
return Def.Sprite {
Texture=NOTESKIN:GetPath( '_down', 'tap note' );
Frames = Sprite.LinearFrames( 8, 1 );
InitCommand=function(self)
self:setstate(2);
end;
InitCommand=cmd(setstate,2);
DrawTapNoteMessageCommand=function(self,parent)
parent:spin();
end;
@@ -1,5 +1,3 @@
return LoadActor("Down Tap Explosion Bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("UpLeft Tap Explosion Bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -61,9 +61,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
+1 -3
View File
@@ -66,9 +66,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
+1 -3
View File
@@ -74,9 +74,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
+1 -3
View File
@@ -75,9 +75,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
+1 -3
View File
@@ -75,9 +75,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
+1 -3
View File
@@ -66,9 +66,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
+1 -3
View File
@@ -69,9 +69,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
@@ -1,5 +1,3 @@
return LoadActor("_bar hold explosion bright")..{
CheckpointHitCommand=function(self)
self:diffusealpha(0);
end;
CheckpointHitCommand=cmd(diffusealpha,0);
};
+1 -3
View File
@@ -66,9 +66,7 @@ local function NoteskinLoader()
t = Def.Actor {};
end
return t .. {
function(self)
self:visible(false);
end;
cmd(visible,false);
};
end;
+1 -4
View File
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("Center","Tap Note")..{
InitCommand=function(self)
self:effectclock("beat");
self:effectmagnitude(0.5, 1, 0);
end;
InitCommand=cmd(effectclock,"beat";effectmagnitude,0.5,1,0);
};
+1 -4
View File
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{
InitCommand=function(self)
self:effectclock("beat");
self:effectmagnitude(0.5, 1, 0);
end;
InitCommand=cmd(effectclock,"beat";effectmagnitude,0.5,1,0)
};
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("DownRight","Tap Note")..{
InitCommand=function(self)
self:effectclock("beat");
self:effectmagnitude(0.5, 1, 0);
end;
InitCommand=cmd(effectclock,"beat";effectmagnitude,0.5,1,0)
};
+1 -5
View File
@@ -119,11 +119,7 @@ local function func()
end
if sElement == "Tap Lift" then
t.InitCommand=function(self)
self:pulse();
self:effectclock("beat");
self:effectmagnitude(1, 0.75, 0);
end;
t.InitCommand=cmd(pulse;effectclock,"beat";effectmagnitude,1,0.75,0);
end
return t
+26 -92
View File
@@ -1,109 +1,43 @@
return Def.ActorFrame {
--note graphic
NOTESKIN:LoadActor(Var "Button", "Tap Note") .. {
InitCommand=function(self)
self:blend("BlendMode_Add");
self:playcommand("Glow");
end;
W1Command=function(self)
self:playcommand("Glow");
end;
W2Command=function(self)
self:playcommand("Glow");
end;
W3Command=function(self)
self:playcommand("Glow");
end;
W4Command=function(self) end;
W5Command=function(self) end;
HitMineCommand=function(self)
self:playcommand("Glow");
end;
HeldCommand=function(self)
self:playcommand("Glow");
end;
GlowCommand=function(self)
self:setstate(0);
self:finishtweening();
self:diffusealpha(1.0);
self:zoom(1.0);
self:linear(0.15);
self:diffusealpha(0.9);
self:zoom(1.15);
self:linear(0.15);
self:diffusealpha(0.0);
self:zoom(1.3);
end;
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
W1Command=cmd(playcommand,"Glow");
W2Command=cmd(playcommand,"Glow");
W3Command=cmd(playcommand,"Glow");
W4Command=cmd();
W5Command=cmd();
HitMineCommand=cmd(playcommand,"Glow");
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1.0;zoom,1.0;linear,0.15;diffusealpha,0.9;zoom,1.15;linear,0.15;diffusealpha,0.0;zoom,1.3);
HeldCommand=cmd(playcommand,"Glow");
};
--tap
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
Name="Tap";
--Frames = { { Frame = 2 ; Delay = 1 } };
TapCommand=function(self)
self:finishtweening();
self:diffusealpha(1);
self:zoom(1);
self:linear(0.2);
self:diffusealpha(0);
self:zoom(1.2);
end;
InitCommand=function(self)
self:pause();
self:setstate(2);
self:playcommand("Tap");
end;
HeldCommand=function(self)
self:playcommand("Tap");
end;
ColumnJudgmentMessageCommand=function(self)
self:playcommand("Tap");
end;
TapCommand=cmd(finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
InitCommand=cmd(pause;setstate,2;playcommand,"Tap");
HeldCommand=cmd(playcommand,"Tap");
ColumnJudgmentMessageCommand=cmd(playcommand,"Tap");
--TapNoneCommand=cmd(playcommand,"Tap");
};
--explosion
LoadActor("_flash")..{
InitCommand=function(self)
self:blend("BlendMode_Add");
self:playcommand("Glow");
end;
W1Command=function(self)
self:playcommand("Glow");
end;
W2Command=function(self)
self:playcommand("Glow");
end;
W3Command=function(self)
self:playcommand("Glow");
end;
W4Command=function(self) end;
W5Command=function(self) end;
HitMineCommand=function(self)
self:playcommand("Glow");
end;
HeldCommand=function(self)
self:playcommand("Glow");
end;
GlowCommand=function(self)
self:setstate(0);
self:finishtweening();
self:diffusealpha(1);
self:zoom(1);
self:linear(0.2);
self:diffusealpha(0);
self:zoom(1.2);
end;
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
W1Command=cmd(playcommand,"Glow");
W2Command=cmd(playcommand,"Glow");
W3Command=cmd(playcommand,"Glow");
W4Command=cmd();
W5Command=cmd();
--HoldingOnCommand=cmd(playcommand,"Glow");
HitMineCommand=cmd(playcommand,"Glow");
HeldCommand=cmd(playcommand,"Glow");
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
};
--thing...
Def.Quad {
InitCommand=function(self)
self:zoomto(50, 5000);
self:diffusealpha(0);
end;
HitMineCommand=function(self)
self:finishtweening();
self:diffusealpha(1);
self:linear(0.3);
self:diffusealpha(0);
end;
InitCommand=cmd(zoomto,50,5000;diffusealpha,0);
HitMineCommand=cmd(finishtweening;diffusealpha,1;linear,0.3;diffusealpha,0);
};
}
+18 -20
View File
@@ -20,18 +20,18 @@ end
return Def.ActorFrame {
-- COMMANDS --
InitCommand=function(self)
self:SetUpdateFunction(Beat);
end;
InitCommand=cmd(SetUpdateFunction,Beat);
-- LAYERS --
NOTESKIN:LoadActor("Center", "Outline Receptor")..{
Name="Outline Full";
Condition=Var "Button" == "Center" and GAMESTATE:GetCurrentStyle():GetStepsType() ~= 'StepsType_Pump_Halfdouble';
--InitCommand=cmd(x,96);
};
NOTESKIN:LoadActor("DownLeft", "Outline Receptor")..{
Name="Outline Half";
Condition=Var "Button" == "DownLeft" and GAMESTATE:GetCurrentStyle():GetStepsType() == 'StepsType_Pump_Halfdouble';
--InitCommand=cmd(x,96);
};
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
@@ -39,28 +39,26 @@ return Def.ActorFrame {
Frames={
{ Frame = 0, Delay = 0 }
};
PressCommand=function(self)
self:finishtweening();
self:linear(0.05);
self:zoom(0.9);
self:linear(0.1);
self:zoom(1);
end;
PressCommand=cmd(finishtweening;linear,0.05;zoom,0.9;linear,0.1;zoom,1);
};
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
Name="Glow";
Frames= {
{ Frame = 1, Delay = 0 }
};
InitCommand=function(self)
self:blend('BlendMode_Add');
end;
PressCommand=function(self)
self:finishtweening();
self:linear(0.05);
self:zoom(0.9);
self:linear(0.1);
self:zoom(1);
end;
InitCommand=cmd(blend,'BlendMode_Add');
PressCommand=cmd(finishtweening;linear,0.05;zoom,0.9;linear,0.1;zoom,1);
};
--[[
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
Name="Tap";
Frames = { Frame = 2 };
InitCommand=cmd(zoom,1;diffusealpha,0;glow,1,1,1,0);
--NOTESKIN:GetMetricA(Var "Button", "TapInitCommand");
--
PressCommand=cmd(finishtweening;glow,1,1,1,1;zoom,1;linear,0.2;glow,1,1,1,0;zoom,1.2);
--NOTESKIN:GetMetricA(Var "Button", "TapHeldCommand");
--
};
--]]
}
+1 -4
View File
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("UpLeft","Tap Note")..{
InitCommand=function(self)
self:effectclock("beat");
self:effectmagnitude(0.5, 1, 0);
end;
InitCommand=cmd(effectclock,"beat";effectmagnitude,0.5,1,0)
};
+1 -4
View File
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("UpRight","Tap Note")..{
InitCommand=function(self)
self:effectclock("beat");
self:effectmagnitude(0.5,1,0);
end;
InitCommand=cmd(effectclock,"beat";effectmagnitude,0.5,1,0)
};
+1 -4
View File
@@ -1,6 +1,3 @@
return LoadActor("_CenterHit")..{
InitCommand=function(self)
self:x(2);
self:y(2);
end;
InitCommand=cmd(x,2;y,2);
}
@@ -1,6 +1,3 @@
return LoadActor("_DownLeftHit")..{
InitCommand=fnction(self)
self:y(5);
self:x(2);
end;
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;
OnCommand=cmd(x,-2;zoomx,-1);
}
@@ -4,4 +4,5 @@ return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
{ Frame = 1 };
{ Frame = 2 };
};
--InitCommand=cmd(rotationy,180);
};
@@ -1,2 +1,3 @@
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{
--InitCommand=cmd(rotationy,180);
};
+25 -98
View File
@@ -1,112 +1,39 @@
return Def.ActorFrame {
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
InitCommand=function(self)
self:animate(0);
self:blend(Blend.Add);
self:diffusealpha(0);
end;
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
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;
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=function(self)
self:animate(0);
self:blend(Blend.Add);
self:diffusealpha(0);
end;
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
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;
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=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;
InitCommand=cmd(animate,0;zoom,1.1;blend,Blend.Add;visible,false);
HoldingOnCommand=cmd(visible,true);
HoldingOffCommand=cmd(visible,false);
};
+1 -6
View File
@@ -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;
InitCommand=cmd(rotationy,180;rotationz,180;y,-6;x,2);
}
+9 -40
View File
@@ -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;
InitCommand=cmd(animate,0;setstate,0);
};
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;
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=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;
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... =)
+4 -28
View File
@@ -4,31 +4,15 @@ 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;
InitCommand=cmd(diffuseshift;effectcolor1,color("#FFFFFFFF");effectcolor2,color("#FFFFFF22");effectclock,"bgm";effectperiod,2);
}
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;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#FFFFFFFF");effectcolor2,color("#FFFFFF22");effectclock,"bgm";effectperiod,2);
}
t[#t+1] = LoadActor("Mine_Border")..{
InitCommand=function(self)
self:spin();
self:effectmagnitude(0, 0, 36);
end;
InitCommand=cmd(spin;effectmagnitude,0,0,36);
}
t[#t+1] = LoadActor("Mine_Overlay");
@@ -36,15 +20,7 @@ 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;
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;
InitCommand=cmd(rotationy,180;rotationz,180;y,-6;x,-2);
}
@@ -4,4 +4,5 @@ return NOTESKIN:LoadActor("UpLeft", "Ready Receptor")..{
{ Frame = 1 };
{ Frame = 2 };
};
--InitCommand=cmd(rotationy,180);
};
@@ -1,2 +1,4 @@
return NOTESKIN:LoadActor("UpLeft","Tap Note")..{
--InitCommand=cmd(rotationy,180);
--BaseRotationY=180;
};
+4 -24
View File
@@ -2,39 +2,19 @@ local t = Def.ActorFrame{}
t[#t+1] = LoadActor("Center_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#9b8737FF"));
self:effectcolor2(color("#9b8737FF"));
self:fadetop(0.5);
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#9b8737FF");effectcolor2,color("#9b8737FF");fadetop,0.5);
}
t[#t+1] = LoadActor("Center_blend")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#ccb752FF"));
self:effectcolor2(color("#ccb75233"));
self:effectclock("bgm");
self:effecttiming(1, 0, 0, 0);
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#ccb752FF");effectcolor2,color("#ccb75233");effectclock,"bgm";effecttiming,1,0,0,0;);
}
t[#t+1] = LoadActor("Center_fill")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#ccb752FF"));
self:effectcolor2(color("#ccb752FF"));
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#ccb752FF");effectcolor2,color("#ccb752FF"));
}
t[#t+1] = LoadActor("Center_feet")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffusealpha(0.6);
end;
InitCommand=cmd(blend,Blend.Add;diffusealpha,0.6);
}
+1 -4
View File
@@ -1,6 +1,3 @@
return LoadActor("_CenterHit")..{
InitCommand=function(self)
self:x(2);
self:y(2);
end;
InitCommand=cmd(x,2;y,2);
}
+5 -29
View File
@@ -2,47 +2,23 @@ local t = Def.ActorFrame{}
t[#t+1] = LoadActor("Center_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#9b873766"));
self:effectcolor2(color("#9b873766"));
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#9b873766");effectcolor2,color("#9b873766"));
}
t[#t+1] = LoadActor("Center_blend")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#ccb752FF"));
self:effectcolor2(color("#ccb75266"));
self:effectclock("bgm");
self:effecttiming(1, 0, 0, 0);
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#ccb752FF");effectcolor2,color("#ccb75266");effectclock,"bgm";effecttiming,1,0,0,0;);
}
t[#t+1] = LoadActor("Center_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#ccb752FF"));
self:effectcolor2(color("#ccb752FF"));
self:fadetop(1);
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#ccb752FF");effectcolor2,color("#ccb752FF");fadetop,1);
}
t[#t+1] = LoadActor("Center_fill")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#ccb752FF"));
self:effectcolor2(color("#ccb752FF"));
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#ccb752FF");effectcolor2,color("#ccb752FF"));
}
t[#t+1] = LoadActor("Center_feet")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffusealpha(0.6);
end;
InitCommand=cmd(blend,Blend.Add;diffusealpha,0.6);
}
+3 -20
View File
@@ -2,32 +2,15 @@ local t = Def.ActorFrame{}
t[#t+1] = LoadActor("DownLeft_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#376f9bFF"));
self:effectcolor2(color("#376f9bFF"));
self:fadetop(0.5);
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#376f9bFF");effectcolor2,color("#376f9bFF");fadetop,0.5);
}
t[#t+1] = LoadActor("DownLeft_blend")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#5899ccFF"));
self:effectcolor2(color("#5899cc33"));
self:effectclock("bgm");
self:effecttiming(1, 0, 0, 0);
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#5899ccFF");effectcolor2,color("#5899cc33");effectclock,"bgm";effecttiming,1,0,0,0;);
}
t[#t+1] = LoadActor("DownLeft_fill")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#5899ccFF"));
self:effectcolor2(color("#5899ccFF"));
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#5899ccFF");effectcolor2,color("#5899ccFF"));
}
+1 -4
View File
@@ -1,6 +1,3 @@
return LoadActor("_DownLeftHit")..{
InitCommand=fnction(self)
self:y(5);
self:x(2);
end;
InitCommand=cmd(y,5;x,2);
}
+4 -25
View File
@@ -2,40 +2,19 @@ local t = Def.ActorFrame{}
t[#t+1] = LoadActor("DownLeft_blend")..{
InitCommand=fnction(self)
self:diffuseshift();
self:effectcolor1(color("#376f9b66"));
self:effectcolor2(color("#376f9b66"));
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#376f9b66");effectcolor2,color("#376f9b66"));
}
t[#t+1] = LoadActor("DownLeft_blend")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#5899ccFF"));
self:effectcolor2(color("#5899cc66"));
self:effectclock("bgm");
self:effecttiming(1, 0, 0, 0);
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#5899ccFF");effectcolor2,color("#5899cc66");effectclock,"bgm";effecttiming,1,0,0,0;);
}
t[#t+1] = LoadActor("DownLeft_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#5899ccFF"));
self:effectcolor2(color("#5899ccFF"));
self:fadetop(1);
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#5899ccFF");effectcolor2,color("#5899ccFF");fadetop,1);
}
t[#t+1] = LoadActor("DownLeft_fill")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#5899ccFF"));
self:effectcolor2(color("#5899ccFF"));
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#5899ccFF");effectcolor2,color("#5899ccFF"));
}
+1 -1
View File
@@ -1,3 +1,3 @@
return NOTESKIN:LoadActor("DownLeft","Hold Head")..{
--InitCommand=cmd(rotationy,180);
};
+1 -4
View File
@@ -1,6 +1,3 @@
return NOTESKIN:LoadActor("DownLeft","NoteHit")..{
OnCommand=function(self)
self:x(-2);
self:zoomx(-1);
end;
OnCommand=cmd(x,-2;zoomx,-1);
}
@@ -4,4 +4,5 @@ return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
{ Frame = 1 };
{ Frame = 2 };
};
--InitCommand=cmd(rotationy,180);
};
@@ -1,2 +1,3 @@
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{
--InitCommand=cmd(rotationy,180);
};
+1 -5
View File
@@ -119,11 +119,7 @@ local function func()
end
if sElement == "Tap Lift" then
t.InitCommand=function(self)
self:pulse();
self:effectclock("beat");
self:effectmagnitude(1, 0.75, 0);
end;
t.InitCommand=cmd(pulse;effectclock,"beat";effectmagnitude,1,0.75,0);
end
return t
+25 -98
View File
@@ -1,112 +1,39 @@
return Def.ActorFrame {
NOTESKIN:LoadActor(Var "Button","NoteHit") .. {
InitCommand=function(self)
self:animate(0);
self:blend(Blend.Add);
self:diffusealpha(0);
end;
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
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;
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=function(self)
self:animate(0);
self:blend(Blend.Add);
self:diffusealpha(0);
end;
InitCommand=cmd(animate,0;blend,Blend.Add;diffusealpha,0);
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;
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=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;
InitCommand=cmd(animate,0;zoom,1.1;blend,Blend.Add;visible,false);
HoldingOnCommand=cmd(visible,true);
HoldingOffCommand=cmd(visible,false);
};
+3 -20
View File
@@ -3,32 +3,15 @@ local t = Def.ActorFrame{}
t[#t+1] = LoadActor("UpLeft_blend")..{
InitCommand=function(self)
self:diffuseshift();
self:effectcolor1(color("#9b376dFF"));
self:effectcolor2(color("#9b376dFF"));
self:fadetop(0.5);
end;
InitCommand=cmd(diffuseshift;effectcolor1,color("#9b376dFF");effectcolor2,color("#9b376dFF");fadetop,0.5);
}
t[#t+1] = LoadActor("UpLeft_blend")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#cc5176FF"));
self:effectcolor2(color("#cc517633"));
self:effectclock("bgm");
self:effecttiming(1, 0, 0, 0);
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#cc5176FF");effectcolor2,color("#cc517633");effectclock,"bgm";effecttiming,1,0,0,0;);
}
t[#t+1] = LoadActor("UpLeft_fill")..{
InitCommand=function(self)
self:blend(Blend.Add);
self:diffuseshift();
self:effectcolor1(color("#cc5176FF"));
self:effectcolor2(color("#cc5176FF"));
end;
InitCommand=cmd(blend,Blend.Add;diffuseshift;effectcolor1,color("#cc5176FF");effectcolor2,color("#cc5176FF"));
}

Some files were not shown because too many files have changed in this diff Show More