fixing things...
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 27 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
local Noteskin = ... or {}
|
||||||
|
|
||||||
|
Noteskin.PartsToRotate = {
|
||||||
|
--["elemenu"] = true|false;
|
||||||
|
["Roll Head Active"] = false;
|
||||||
|
["Roll Head Inactive"] = false;
|
||||||
|
--
|
||||||
|
["Tap Note"] = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Noteskin
|
||||||
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
[Global]
|
||||||
|
FallbackNoteSkin=cmd
|
||||||
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 68 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
[UpLeft]
|
||||||
|
StartDrawingHoldBodyOffsetFromHead=-22
|
||||||
|
|
||||||
|
[UpRight]
|
||||||
|
StartDrawingHoldBodyOffsetFromHead=-22
|
||||||
|
After Width: | Height: | Size: 421 B |
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1 @@
|
|||||||
|
_blank
|
||||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 437 B |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 442 B |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 434 B |
|
After Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
[Center]
|
||||||
|
TapNoteAnimationLength=0.3
|
||||||
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,7 @@
|
|||||||
|
return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
|
||||||
|
Frames = {
|
||||||
|
{ Frame = 0 };
|
||||||
|
{ Frame = 1 };
|
||||||
|
{ Frame = 2 };
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
return NOTESKIN:LoadActor("DownLeft","Tap Note")..{};
|
||||||
@@ -0,0 +1,127 @@
|
|||||||
|
local Noteskin = {}
|
||||||
|
|
||||||
|
--bBlanks:
|
||||||
|
Noteskin.bBlanks = {
|
||||||
|
--["element"] = true|false;
|
||||||
|
["Hold Tail Active"] = true;
|
||||||
|
["Hold Tail Active"] = true;
|
||||||
|
["Roll Tail Inactive"] = true;
|
||||||
|
["Roll Tail Inactive"] = true;
|
||||||
|
}
|
||||||
|
Noteskin.PartsToRotate = {
|
||||||
|
--["elemenu"] = true|false;
|
||||||
|
["Roll Head Active"] = false;
|
||||||
|
["Roll Head Inactive"] = false;
|
||||||
|
}
|
||||||
|
Noteskin.ElementRedirs = {
|
||||||
|
--["element"] = "redirected_element";
|
||||||
|
["Hold Head Active"] = "Tap Note";
|
||||||
|
["Hold Head Inactive"] = "Tap Note";
|
||||||
|
["Roll Head Active"] = "Roll Head Active";
|
||||||
|
["Roll Head Inactive"] = "Roll Head Active";
|
||||||
|
["Tap Fake"] = "Tap Note";
|
||||||
|
--
|
||||||
|
["Hold Topcap Inactive"] = "Hold Topcap Active";
|
||||||
|
["Hold Body Inactive"] = "Hold Body Active";
|
||||||
|
["Hold Bottomcap Inactive"] = "Hold Bottomcap Active";
|
||||||
|
["Hold Tail Inactive"] = "Hold Tail Active";
|
||||||
|
--
|
||||||
|
["Roll Topcap Active"] = "Hold Topcap Active";
|
||||||
|
["Roll Body Active"] = "Hold Body Active";
|
||||||
|
["Roll Bottomcap Active"] = "Hold Bottomcap Active";
|
||||||
|
["Roll Tail Active"] = "Hold Tail Active";
|
||||||
|
--
|
||||||
|
["Roll Topcap Inactive"] = "Hold Topcap Active";
|
||||||
|
["Roll Body Inactive"] = "Hold Body Active";
|
||||||
|
["Roll Bottomcap Inactive"] = "Hold Bottomcap Active";
|
||||||
|
["Roll Tail Inactive"] = "Hold Tail Active";
|
||||||
|
}
|
||||||
|
-- explicit, n/w
|
||||||
|
--[[Noteskin.ButtonRedirs = {
|
||||||
|
Center = "Center";
|
||||||
|
UpLeft = "UpLeft";
|
||||||
|
UpRight = "UpRight";
|
||||||
|
DownLeft = "DownLeft";
|
||||||
|
DownRight = "DownRight";
|
||||||
|
}]]
|
||||||
|
Noteskin.BaseRotX = {
|
||||||
|
Center = 0;
|
||||||
|
UpLeft = 0;
|
||||||
|
UpRight = 0;
|
||||||
|
DownLeft = 0;
|
||||||
|
DownRight = 0;
|
||||||
|
}
|
||||||
|
Noteskin.BaseRotY = {
|
||||||
|
Center = 0;
|
||||||
|
UpLeft = 0;
|
||||||
|
UpRight = 180;
|
||||||
|
DownLeft = 0;
|
||||||
|
DownRight = 180;
|
||||||
|
}
|
||||||
|
Noteskin.BaseRotZ = {
|
||||||
|
Center = 0;
|
||||||
|
UpLeft = 0;
|
||||||
|
UpRight = 0;
|
||||||
|
DownLeft = 0;
|
||||||
|
DownRight = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
--[[--------------------------------------------------------------------------
|
||||||
|
DONT EDIT THE FUNCTION, DON'T COPY AND PASTE THE WHOLE NOTESKIN.LUA
|
||||||
|
JUST MAKE A NEW ONE AND GRAB WHATEVER IS USEFUL FOR YOUR NOTESKIN.
|
||||||
|
phew~
|
||||||
|
|
||||||
|
See cmd-routine-p* noteskin.lua for a simple and clear example on
|
||||||
|
how to do this properly, notice how the rest of the noteskins just
|
||||||
|
have graphics and at least a metrics.ini with few things
|
||||||
|
--]]--------------------------------------------------------------------------
|
||||||
|
local function func()
|
||||||
|
local sButton = Var "Button"
|
||||||
|
local sElement = Var "Element"
|
||||||
|
|
||||||
|
if Noteskin.bBlanks[sElement] then
|
||||||
|
local t = Def.Actor {};
|
||||||
|
if Var "SpriteOnly" then
|
||||||
|
t = LoadActor( "_blank" );
|
||||||
|
end
|
||||||
|
return t
|
||||||
|
end
|
||||||
|
|
||||||
|
--local ButtonToLoad = Noteskin.ButtonRedirs[sButton]
|
||||||
|
local ElementToLoad = Noteskin.ElementRedirs[sElement]
|
||||||
|
if not ElementToLoad then
|
||||||
|
ElementToLoad = sElement
|
||||||
|
end
|
||||||
|
|
||||||
|
if sElement == "Explosion"
|
||||||
|
or sElement == "Tap Lift"
|
||||||
|
or sElement == "Tap Mine"
|
||||||
|
or sElement == "Receptor"
|
||||||
|
then
|
||||||
|
sButton = "UpLeft"
|
||||||
|
end
|
||||||
|
local path = NOTESKIN:GetPath(sButton,ElementToLoad)
|
||||||
|
if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") )
|
||||||
|
and not ( string.find(sElement,"Head") or string.find(sElement,"Tail") )
|
||||||
|
then
|
||||||
|
path = NOTESKIN:GetPath(sButton,ElementToLoad)
|
||||||
|
end
|
||||||
|
|
||||||
|
local t = LoadActor(path)
|
||||||
|
|
||||||
|
local bRotate = Noteskin.PartsToRotate[ElementToLoad]
|
||||||
|
--rotate by default
|
||||||
|
if bRotate == nil then bRotate = true end
|
||||||
|
if bRotate then
|
||||||
|
t.BaseRotationX=Noteskin.BaseRotX[sButton]
|
||||||
|
t.BaseRotationY=Noteskin.BaseRotY[sButton]
|
||||||
|
t.BaseRotationZ=Noteskin.BaseRotZ[sButton]
|
||||||
|
end
|
||||||
|
|
||||||
|
return t
|
||||||
|
end
|
||||||
|
|
||||||
|
Noteskin.Load = func
|
||||||
|
Noteskin.CommonLoad = func
|
||||||
|
|
||||||
|
return Noteskin
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
--note graphic
|
||||||
|
NOTESKIN:LoadActor(Var "Button", "Tap Note") .. {
|
||||||
|
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
|
||||||
|
W1Command=cmd(playcommand,"Glow");
|
||||||
|
W2Command=cmd(playcommand,"Glow");
|
||||||
|
W3Command=cmd(playcommand,"Glow");
|
||||||
|
W4Command=cmd();
|
||||||
|
W5Command=cmd();
|
||||||
|
|
||||||
|
HitMineCommand=cmd(playcommand,"Glow");
|
||||||
|
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1.0;zoom,1.0;linear,0.15;diffusealpha,0.9;zoom,1.15;linear,0.15;diffusealpha,0.0;zoom,1.3);
|
||||||
|
HeldCommand=cmd(playcommand,"Glow");
|
||||||
|
};
|
||||||
|
--tap
|
||||||
|
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||||
|
Name="Tap";
|
||||||
|
Frames = { { Frame = 2 } };
|
||||||
|
TapCommand=cmd(finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
|
||||||
|
|
||||||
|
InitCommand=cmd(playcommand,"Tap");
|
||||||
|
HeldCommand=cmd(playcommand,"Tap");
|
||||||
|
ColumnJudgmentMessageCommand=cmd(playcommand,"Tap");
|
||||||
|
--TapNoneCommand=cmd(playcommand,"Tap");
|
||||||
|
};
|
||||||
|
--explosion
|
||||||
|
LoadActor("_flash")..{
|
||||||
|
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
|
||||||
|
W1Command=cmd(playcommand,"Glow");
|
||||||
|
W2Command=cmd(playcommand,"Glow");
|
||||||
|
W3Command=cmd(playcommand,"Glow");
|
||||||
|
W4Command=cmd();
|
||||||
|
W5Command=cmd();
|
||||||
|
--HoldingOnCommand=cmd(playcommand,"Glow");
|
||||||
|
HitMineCommand=cmd(playcommand,"Glow");
|
||||||
|
HeldCommand=cmd(playcommand,"Glow");
|
||||||
|
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
|
||||||
|
};
|
||||||
|
--thing...
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,50,5000;diffusealpha,0);
|
||||||
|
HitMineCommand=cmd(finishtweening;diffusealpha,1;linear,0.3;diffusealpha,0);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 11 KiB |