simplify: remove children
This commit is contained in:
@@ -1,38 +1,36 @@
|
|||||||
local t = Def.ActorFrame {
|
local t = Def.ActorFrame {
|
||||||
children = {
|
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=cmd(playcommand,"HoldingOff";finishtweening);
|
};
|
||||||
};
|
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
|
||||||
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
|
InitCommand=cmd(diffusealpha,0);
|
||||||
InitCommand=cmd(diffusealpha,0);
|
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=cmd(finishtweening);
|
BrightCommand=cmd(hidden,1);
|
||||||
BrightCommand=cmd(hidden,1);
|
DimCommand=cmd(hidden,0);
|
||||||
DimCommand=cmd(hidden,0);
|
};
|
||||||
};
|
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Bright" ) .. {
|
||||||
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Bright" ) .. {
|
InitCommand=cmd(diffusealpha,0);
|
||||||
InitCommand=cmd(diffusealpha,0);
|
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=cmd(finishtweening);
|
BrightCommand=cmd(hidden,0);
|
||||||
BrightCommand=cmd(hidden,0);
|
DimCommand=cmd(hidden,1);
|
||||||
DimCommand=cmd(hidden,1);
|
};
|
||||||
};
|
NOTESKIN:LoadActor( Var "Button", "HitMine Explosion" ) .. {
|
||||||
NOTESKIN:LoadActor( Var "Button", "HitMine Explosion" ) .. {
|
InitCommand=cmd(blend,"BlendMode_Add";diffusealpha,0);
|
||||||
InitCommand=cmd(blend,"BlendMode_Add";diffusealpha,0);
|
HitMineCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HitMineCommand");
|
||||||
HitMineCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HitMineCommand");
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
|
|||||||
@@ -1,25 +1,23 @@
|
|||||||
return Def.ActorFrame {
|
return Def.ActorFrame {
|
||||||
children = {
|
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Ready Receptor") ) .. {
|
||||||
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Ready Receptor") ) .. {
|
Frame0000=2;
|
||||||
Frame0000=2;
|
Delay0000=1;
|
||||||
Delay0000=1;
|
|
||||||
|
|
||||||
InitCommand=cmd(playcommand, "Set");
|
InitCommand=cmd(playcommand, "Set");
|
||||||
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
|
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
|
||||||
SetCommand=cmd(visible,GAMESTATE:GetGameplayLeadIn());
|
SetCommand=cmd(visible,GAMESTATE:GetGameplayLeadIn());
|
||||||
};
|
};
|
||||||
|
|
||||||
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Go Receptor") ) .. {
|
LoadActor( "_Tap Receptor", NOTESKIN:LoadActor(Var "Button", "Go Receptor") ) .. {
|
||||||
Frame0000=0;
|
Frame0000=0;
|
||||||
Delay0000=0.1;
|
Delay0000=0.1;
|
||||||
Frame0001=1;
|
Frame0001=1;
|
||||||
Delay0001=0.8;
|
Delay0001=0.8;
|
||||||
Frame0002=0;
|
Frame0002=0;
|
||||||
Delay0002=0.1;
|
Delay0002=0.1;
|
||||||
|
|
||||||
InitCommand=cmd(playcommand, "Set");
|
InitCommand=cmd(playcommand, "Set");
|
||||||
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
|
GameplayLeadInChangedMessageCommand=cmd(playcommand,"Set");
|
||||||
SetCommand=cmd(visible,not GAMESTATE:GetGameplayLeadIn());
|
SetCommand=cmd(visible,not GAMESTATE:GetGameplayLeadIn());
|
||||||
};
|
};
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user