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