diff --git a/NoteSkins/dance/retrobar/Bar Hold Body active.png b/NoteSkins/dance/retrobar/Bar Hold Body active.png new file mode 100644 index 0000000000..05d1a289cd Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold Body active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold Body inactive.png b/NoteSkins/dance/retrobar/Bar Hold Body inactive.png new file mode 100644 index 0000000000..97c259eaa1 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold Body inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold BottomCap active.png b/NoteSkins/dance/retrobar/Bar Hold BottomCap active.png new file mode 100644 index 0000000000..39e403a76d Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold BottomCap active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold BottomCap inactive.png b/NoteSkins/dance/retrobar/Bar Hold BottomCap inactive.png new file mode 100644 index 0000000000..560f2136fb Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold BottomCap inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold Explosion.lua b/NoteSkins/dance/retrobar/Bar Hold Explosion.lua new file mode 100644 index 0000000000..8872ea2286 --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Hold Explosion.lua @@ -0,0 +1,3 @@ +return LoadActor("_bar hold explosion bright")..{ + CheckpointHitCommand=cmd(diffusealpha,0); +}; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Bar Hold Head active.png b/NoteSkins/dance/retrobar/Bar Hold Head active.png new file mode 100644 index 0000000000..d7b1b513e8 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold Head active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold Head inactive.png b/NoteSkins/dance/retrobar/Bar Hold Head inactive.png new file mode 100644 index 0000000000..a10b5df9e4 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold Head inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold TopCap active.png b/NoteSkins/dance/retrobar/Bar Hold TopCap active.png new file mode 100644 index 0000000000..bb1601de02 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold TopCap active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Hold TopCap inactive.png b/NoteSkins/dance/retrobar/Bar Hold TopCap inactive.png new file mode 100644 index 0000000000..76ed2442cb Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Hold TopCap inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Receptor.lua b/NoteSkins/dance/retrobar/Bar Receptor.lua new file mode 100644 index 0000000000..58549bea9c --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Receptor.lua @@ -0,0 +1,23 @@ +local t = Def.ActorFrame{ + -- normal + Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'receptor base' ); + Frame0000=0; + Delay0000=1; + InitCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'InitCommand'); + NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand'); + PressCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'PressCommand'); + }; + -- flashpert + Def.Sprite { + Texture="_bar receptor tap"; + Frame0000=0; + Delay0000=1; + InitCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'InitCommand'); + PressCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'PressCommand'); + LiftCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'LiftCommand'); + NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand'); + }; +}; + +return t; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Bar Roll Body active.png b/NoteSkins/dance/retrobar/Bar Roll Body active.png new file mode 100644 index 0000000000..b6ff89cca8 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll Body active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll Body inactive.png b/NoteSkins/dance/retrobar/Bar Roll Body inactive.png new file mode 100644 index 0000000000..10852ee2bd Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll Body inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll BottomCap active.png b/NoteSkins/dance/retrobar/Bar Roll BottomCap active.png new file mode 100644 index 0000000000..d9cdfec04c Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll BottomCap active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll BottomCap inactive.png b/NoteSkins/dance/retrobar/Bar Roll BottomCap inactive.png new file mode 100644 index 0000000000..d9bf539957 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll BottomCap inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll Explosion.lua b/NoteSkins/dance/retrobar/Bar Roll Explosion.lua new file mode 100644 index 0000000000..8872ea2286 --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Roll Explosion.lua @@ -0,0 +1,3 @@ +return LoadActor("_bar hold explosion bright")..{ + CheckpointHitCommand=cmd(diffusealpha,0); +}; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Bar Roll Head active.png b/NoteSkins/dance/retrobar/Bar Roll Head active.png new file mode 100644 index 0000000000..5e9be40056 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll Head active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll Head inactive.png b/NoteSkins/dance/retrobar/Bar Roll Head inactive.png new file mode 100644 index 0000000000..55ce40634a Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll Head inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll TopCap active.png b/NoteSkins/dance/retrobar/Bar Roll TopCap active.png new file mode 100644 index 0000000000..ebaae412df Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll TopCap active.png differ diff --git a/NoteSkins/dance/retrobar/Bar Roll TopCap inactive.png b/NoteSkins/dance/retrobar/Bar Roll TopCap inactive.png new file mode 100644 index 0000000000..c521c5c556 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Roll TopCap inactive.png differ diff --git a/NoteSkins/dance/retrobar/Bar Tap Lift 4x1.png b/NoteSkins/dance/retrobar/Bar Tap Lift 4x1.png new file mode 100644 index 0000000000..4a46e0b910 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Tap Lift 4x1.png differ diff --git a/NoteSkins/dance/retrobar/Bar Tap Mine.lua b/NoteSkins/dance/retrobar/Bar Tap Mine.lua new file mode 100644 index 0000000000..face18692a --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Tap Mine.lua @@ -0,0 +1,15 @@ +return Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'mine' ); + Frame0000=0; + Delay0000=1; + Frame0001=1; + Delay0001=1; + Frame0002=2; + Delay0002=1; + Frame0003=3; + Delay0003=1; + Frame0004=2; + Delay0004=1; + Frame0005=1; + Delay0005=1; +}; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Bar Tap Note.lua b/NoteSkins/dance/retrobar/Bar Tap Note.lua new file mode 100644 index 0000000000..d4ed127172 --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Tap Note.lua @@ -0,0 +1,4 @@ +return Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'tap note' ); + Frames = Sprite.LinearFrames( 4, 1 ); +}; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Bar Tap explosion bright.png b/NoteSkins/dance/retrobar/Bar Tap explosion bright.png new file mode 100644 index 0000000000..b6c9e91078 Binary files /dev/null and b/NoteSkins/dance/retrobar/Bar Tap explosion bright.png differ diff --git a/NoteSkins/dance/retrobar/Bar Tap explosion dim.redir b/NoteSkins/dance/retrobar/Bar Tap explosion dim.redir new file mode 100644 index 0000000000..fbe22e3af1 --- /dev/null +++ b/NoteSkins/dance/retrobar/Bar Tap explosion dim.redir @@ -0,0 +1 @@ +Bar Tap explosion bright \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/Down Roll BottomCap active.png b/NoteSkins/dance/retrobar/Down Roll BottomCap active.png new file mode 100644 index 0000000000..bfbc8b39ac Binary files /dev/null and b/NoteSkins/dance/retrobar/Down Roll BottomCap active.png differ diff --git a/NoteSkins/dance/retrobar/Noteskin.lua b/NoteSkins/dance/retrobar/Noteskin.lua new file mode 100644 index 0000000000..19124e6216 --- /dev/null +++ b/NoteSkins/dance/retrobar/Noteskin.lua @@ -0,0 +1,86 @@ +-- from scratch, with various references. +local Noteskin = ... or {}; + +-- element redirs +Noteskin.ElementRedirs = { + -- ["element"] = "redir_element"; +}; + +-- button redirs (since this is a bar noteskin, it's all the same) +Noteskin.ButtonRedirs = { + Left = "Bar"; + UpLeft = "Bar"; + Up = "Bar"; + Down = "Bar"; + UpRight = "Bar"; + Right = "Bar"; +}; + +-- things to blank out +Noteskin.Hide = { + -- ["element"] = true/false; +}; + +-- rotations +Noteskin.BaseRotX = { + Left = 0; + UpLeft = 0; + Up = 0; + Down = 0; + UpRight = 0; + Right = 0; +}; +Noteskin.BaseRotY = { + Left = 0; + UpLeft = 0; + Up = 0; + Down = 0; + UpRight = 0; + Right = 0; +}; + +local function NoteskinLoader() + local Button = Var "Button" + local Element = Var "Element" + + if Noteskin.Hide[Element] then + -- Return a blank element. If SpriteOnly is set, we need to return a + -- sprite; otherwise just return a dummy actor. + local t; + if Var "SpriteOnly" then + t = LoadActor( "_blank" ); + else + t = Def.Actor {}; + end + return t .. { + cmd(visible,false); + }; + end; + + -- load element and button, using redirs + local LoadElement = Noteskin.ElementRedirs[Element] + if not LoadElement then + LoadElement = Element; + end; + + local LoadButton = Noteskin.ButtonRedirs[Button] + if not LoadButton then + LoadButton = Button; + end; + + -- get path to thing + local sPath = NOTESKIN:GetPath( LoadButton, LoadElement ); + + -- make actor + local t = LoadActor( sPath ); + + -- apply rotation + t.BaseRotationX=Noteskin.BaseRotX[sButton] + t.BaseRotationY=Noteskin.BaseRotY[sButton] + + return t; +end + +Noteskin.Load = NoteskinLoader; +Noteskin.CommonLoad = NoteskinLoader; +return Noteskin; \ No newline at end of file diff --git a/NoteSkins/dance/retrobar/_bar hold explosion bright.png b/NoteSkins/dance/retrobar/_bar hold explosion bright.png new file mode 100644 index 0000000000..cc89bb2a57 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar hold explosion bright.png differ diff --git a/NoteSkins/dance/retrobar/_bar hold explosion dim.png b/NoteSkins/dance/retrobar/_bar hold explosion dim.png new file mode 100644 index 0000000000..0cfe70cb32 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar hold explosion dim.png differ diff --git a/NoteSkins/dance/retrobar/_bar mine 4x1.png b/NoteSkins/dance/retrobar/_bar mine 4x1.png new file mode 100644 index 0000000000..c61fc8276a Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar mine 4x1.png differ diff --git a/NoteSkins/dance/retrobar/_bar receptor base.png b/NoteSkins/dance/retrobar/_bar receptor base.png new file mode 100644 index 0000000000..a3c9a85a03 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar receptor base.png differ diff --git a/NoteSkins/dance/retrobar/_bar receptor tap.png b/NoteSkins/dance/retrobar/_bar receptor tap.png new file mode 100644 index 0000000000..ce6aba0536 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar receptor tap.png differ diff --git a/NoteSkins/dance/retrobar/_bar tap base.png b/NoteSkins/dance/retrobar/_bar tap base.png new file mode 100644 index 0000000000..c76bd36fec Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar tap base.png differ diff --git a/NoteSkins/dance/retrobar/_bar tap fake 8x8.png b/NoteSkins/dance/retrobar/_bar tap fake 8x8.png new file mode 100644 index 0000000000..1a153092f7 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar tap fake 8x8.png differ diff --git a/NoteSkins/dance/retrobar/_bar tap note 8x8.png b/NoteSkins/dance/retrobar/_bar tap note 8x8.png new file mode 100644 index 0000000000..447a975d55 Binary files /dev/null and b/NoteSkins/dance/retrobar/_bar tap note 8x8.png differ diff --git a/NoteSkins/dance/retrobar/metrics.ini b/NoteSkins/dance/retrobar/metrics.ini new file mode 100644 index 0000000000..9c25359917 --- /dev/null +++ b/NoteSkins/dance/retrobar/metrics.ini @@ -0,0 +1,16 @@ +[NoteDisplay] +HoldLetGoGrayPercent=.8 + +[ReceptorArrow] +InitCommand=effectclock,"beat";diffuseramp;effectcolor1,color(".8,.8,.8,1");effectcolor2,color("1,1,1,1");effecttiming,.2,0,.8,0;effectoffset,.05 +NoneCommand=finishtweening;zoom,.85;diffusealpha,.9;linear,.11;diffusealpha,1;zoom,1 + +[ReceptorOverlay] +InitCommand=diffusealpha,0 +PressCommand=finishtweening;zoom,1;blend,"BlendMode_Add";diffusealpha,.8;decelerate,0.2;diffusealpha,0.4 +LiftCommand=stoptweening;decelerate,.2;diffusealpha,0;zoom,1.2 + +[HoldGhostArrow] +HoldingOnCommand=diffusealpha,0.625;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,.7");effectperiod,.1 +HoldingOffCommand=diffusealpha,0 +InitCommand=finishtweening;playcommand,"HoldingOff" \ No newline at end of file diff --git a/NoteSkins/kb7/default-p2/NoteSkin.lua b/NoteSkins/kb7/default-p2/NoteSkin.lua deleted file mode 100644 index 5f81a7a9a7..0000000000 --- a/NoteSkins/kb7/default-p2/NoteSkin.lua +++ /dev/null @@ -1,102 +0,0 @@ -local ret = ... or {}; - -ret.RedirTable = -{ - Key1 = "Key", - Key2 = "Key", - Key3 = "Key", - Key4 = "Space", - Key5 = "Key", - Key6 = "Key", - Key7 = "Key", -}; - -local OldRedir = ret.Redir; -ret.Redir = function(sButton, sElement) - sButton, sElement = OldRedir(sButton, sElement); - - -- Instead of separate hold heads, use the tap note graphics. - if sElement == "Hold Head Inactive" or - sElement == "Hold Head Active" or - sElement == "Roll Head Inactive" or - sElement == "Roll Head Active" - then - sElement = "Tap Note"; - end - - sButton = ret.RedirTable[sButton]; - - return sButton, sElement; -end - --- To have separate graphics for each hold part: ---[[ -local OldRedir = ret.Redir; -ret.Redir = function(sButton, sElement) - -- Redirect non-hold, non-roll parts. - if string.find(sElement, "hold") then - return sButton, sElement; - end - return OldRedir(sButton, sElement); -end -]] - -local OldFunc = ret.Load; -function ret.Load() - local t = OldFunc(); - - -- The main "Explosion" part just loads other actors; don't rotate - -- it. The "Hold Explosion" part should not be rotated. - if Var "Element" == "Explosion" or - Var "Element" == "Roll Explosion" or - Var "Element" == "Hold Explosion" then - t.BaseRotationZ = nil; - end - return t; -end - -ret.PartsToRotate = -{ - ["Go Receptor"] = true, - ["Ready Receptor"] = true, - ["Tap Explosion Bright"] = true, - ["Tap Explosion Dim"] = true, - ["Tap Note"] = true, - ["Hold Head Active"] = true, - ["Hold Head Inactive"] = true, - ["Roll Head Active"] = true, - ["Roll Head Inactive"] = true, -}; -ret.Rotate = -{ - Key1 = 0, - Key2 = 0, - Key3 = 0, - Key4 = 0, - Key5 = 0, - Key6 = 0, - Key7 = 0, -}; - --- --- If a derived skin wants to have separate UpLeft graphics, --- use this: --- --- ret.RedirTable.UpLeft = "UpLeft"; --- ret.RedirTable.UpRight = "UpLeft"; --- ret.Rotate.UpLeft = 0; --- ret.Rotate.UpRight = 90; --- -ret.Blank = -{ - ["Hold Topcap Active"] = true, - ["Hold Topcap Inactive"] = true, - ["Roll Topcap Active"] = true, - ["Roll Topcap Inactive"] = true, - ["Hold Tail Active"] = true, - ["Hold Tail Inactive"] = true, - ["Roll Tail Active"] = true, - ["Roll Tail Inactive"] = true, -}; - -return ret; diff --git a/NoteSkins/kb7/default-p2/Space Hold Body active.png b/NoteSkins/kb7/default-p2/Space Hold Body active.png deleted file mode 100644 index 34d6fad3ce..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Hold Body active.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Hold Body inactive.png b/NoteSkins/kb7/default-p2/Space Hold Body inactive.png deleted file mode 100644 index f4dbeaea82..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Hold Body inactive.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Hold BottomCap active.png b/NoteSkins/kb7/default-p2/Space Hold BottomCap active.png deleted file mode 100644 index de8033e015..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Hold BottomCap active.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Hold BottomCap inactive.png b/NoteSkins/kb7/default-p2/Space Hold BottomCap inactive.png deleted file mode 100644 index 0604d261ee..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Hold BottomCap inactive.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Hold Explosion 2x1.png b/NoteSkins/kb7/default-p2/Space Hold Explosion 2x1.png deleted file mode 100644 index 3c0f693b3c..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Hold Explosion 2x1.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Receptor.lua b/NoteSkins/kb7/default-p2/Space Receptor.lua deleted file mode 100644 index ac83a6d2ab..0000000000 --- a/NoteSkins/kb7/default-p2/Space Receptor.lua +++ /dev/null @@ -1 +0,0 @@ -return Def.Actor {} diff --git a/NoteSkins/kb7/default-p2/Space Roll Body active.png b/NoteSkins/kb7/default-p2/Space Roll Body active.png deleted file mode 100644 index 055d451ea2..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Roll Body active.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Roll Body inactive.png b/NoteSkins/kb7/default-p2/Space Roll Body inactive.png deleted file mode 100644 index 9cac60073a..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Roll Body inactive.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Roll BottomCap active.png b/NoteSkins/kb7/default-p2/Space Roll BottomCap active.png deleted file mode 100644 index a7286e8577..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Roll BottomCap active.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Roll BottomCap inactive.png b/NoteSkins/kb7/default-p2/Space Roll BottomCap inactive.png deleted file mode 100644 index ea25d9d0fd..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Roll BottomCap inactive.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Tap Explosion Bright.png b/NoteSkins/kb7/default-p2/Space Tap Explosion Bright.png deleted file mode 100644 index be0ba55b12..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Tap Explosion Bright.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Tap Explosion Dim.png b/NoteSkins/kb7/default-p2/Space Tap Explosion Dim.png deleted file mode 100644 index 0de23983a1..0000000000 Binary files a/NoteSkins/kb7/default-p2/Space Tap Explosion Dim.png and /dev/null differ diff --git a/NoteSkins/kb7/default-p2/Space Tap Note.lua b/NoteSkins/kb7/default-p2/Space Tap Note.lua deleted file mode 100644 index 916fabe7e5..0000000000 --- a/NoteSkins/kb7/default-p2/Space Tap Note.lua +++ /dev/null @@ -1,5 +0,0 @@ -return Def.Sprite { - Texture=NOTESKIN:GetPath( '_space', 'tap note' ); - -- probably don't need this line - Frames = Sprite.LinearFrames( 1, 1 ); -}; diff --git a/NoteSkins/kb7/default-p2/_space tap note 1x8.png b/NoteSkins/kb7/default-p2/_space tap note 1x8.png deleted file mode 100644 index b064d571b7..0000000000 Binary files a/NoteSkins/kb7/default-p2/_space tap note 1x8.png and /dev/null differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold Body active.png b/NoteSkins/kb7/retrobar/Bar Hold Body active.png new file mode 100644 index 0000000000..05d1a289cd Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold Body active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold Body inactive.png b/NoteSkins/kb7/retrobar/Bar Hold Body inactive.png new file mode 100644 index 0000000000..97c259eaa1 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold Body inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold BottomCap active.png b/NoteSkins/kb7/retrobar/Bar Hold BottomCap active.png new file mode 100644 index 0000000000..39e403a76d Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold BottomCap active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold BottomCap inactive.png b/NoteSkins/kb7/retrobar/Bar Hold BottomCap inactive.png new file mode 100644 index 0000000000..560f2136fb Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold BottomCap inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold Explosion.lua b/NoteSkins/kb7/retrobar/Bar Hold Explosion.lua new file mode 100644 index 0000000000..8872ea2286 --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Hold Explosion.lua @@ -0,0 +1,3 @@ +return LoadActor("_bar hold explosion bright")..{ + CheckpointHitCommand=cmd(diffusealpha,0); +}; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Bar Hold Head active.png b/NoteSkins/kb7/retrobar/Bar Hold Head active.png new file mode 100644 index 0000000000..d7b1b513e8 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold Head active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold Head inactive.png b/NoteSkins/kb7/retrobar/Bar Hold Head inactive.png new file mode 100644 index 0000000000..a10b5df9e4 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold Head inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold TopCap active.png b/NoteSkins/kb7/retrobar/Bar Hold TopCap active.png new file mode 100644 index 0000000000..bb1601de02 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold TopCap active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Hold TopCap inactive.png b/NoteSkins/kb7/retrobar/Bar Hold TopCap inactive.png new file mode 100644 index 0000000000..76ed2442cb Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Hold TopCap inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Receptor.lua b/NoteSkins/kb7/retrobar/Bar Receptor.lua new file mode 100644 index 0000000000..58549bea9c --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Receptor.lua @@ -0,0 +1,23 @@ +local t = Def.ActorFrame{ + -- normal + Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'receptor base' ); + Frame0000=0; + Delay0000=1; + InitCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'InitCommand'); + NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand'); + PressCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'PressCommand'); + }; + -- flashpert + Def.Sprite { + Texture="_bar receptor tap"; + Frame0000=0; + Delay0000=1; + InitCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'InitCommand'); + PressCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'PressCommand'); + LiftCommand=NOTESKIN:GetMetricA('ReceptorOverlay', 'LiftCommand'); + NoneCommand=NOTESKIN:GetMetricA('ReceptorArrow', 'NoneCommand'); + }; +}; + +return t; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Bar Roll Body active.png b/NoteSkins/kb7/retrobar/Bar Roll Body active.png new file mode 100644 index 0000000000..b6ff89cca8 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll Body active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll Body inactive.png b/NoteSkins/kb7/retrobar/Bar Roll Body inactive.png new file mode 100644 index 0000000000..10852ee2bd Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll Body inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll BottomCap active.png b/NoteSkins/kb7/retrobar/Bar Roll BottomCap active.png new file mode 100644 index 0000000000..d9cdfec04c Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll BottomCap active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll BottomCap inactive.png b/NoteSkins/kb7/retrobar/Bar Roll BottomCap inactive.png new file mode 100644 index 0000000000..d9bf539957 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll BottomCap inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll Explosion.lua b/NoteSkins/kb7/retrobar/Bar Roll Explosion.lua new file mode 100644 index 0000000000..8872ea2286 --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Roll Explosion.lua @@ -0,0 +1,3 @@ +return LoadActor("_bar hold explosion bright")..{ + CheckpointHitCommand=cmd(diffusealpha,0); +}; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Bar Roll Head active.png b/NoteSkins/kb7/retrobar/Bar Roll Head active.png new file mode 100644 index 0000000000..5e9be40056 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll Head active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll Head inactive.png b/NoteSkins/kb7/retrobar/Bar Roll Head inactive.png new file mode 100644 index 0000000000..55ce40634a Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll Head inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll TopCap active.png b/NoteSkins/kb7/retrobar/Bar Roll TopCap active.png new file mode 100644 index 0000000000..ebaae412df Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll TopCap active.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Roll TopCap inactive.png b/NoteSkins/kb7/retrobar/Bar Roll TopCap inactive.png new file mode 100644 index 0000000000..c521c5c556 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Roll TopCap inactive.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Tap Lift 4x1.png b/NoteSkins/kb7/retrobar/Bar Tap Lift 4x1.png new file mode 100644 index 0000000000..4a46e0b910 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Tap Lift 4x1.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Tap Mine.lua b/NoteSkins/kb7/retrobar/Bar Tap Mine.lua new file mode 100644 index 0000000000..face18692a --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Tap Mine.lua @@ -0,0 +1,15 @@ +return Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'mine' ); + Frame0000=0; + Delay0000=1; + Frame0001=1; + Delay0001=1; + Frame0002=2; + Delay0002=1; + Frame0003=3; + Delay0003=1; + Frame0004=2; + Delay0004=1; + Frame0005=1; + Delay0005=1; +}; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Bar Tap Note.lua b/NoteSkins/kb7/retrobar/Bar Tap Note.lua new file mode 100644 index 0000000000..d4ed127172 --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Tap Note.lua @@ -0,0 +1,4 @@ +return Def.Sprite { + Texture=NOTESKIN:GetPath( '_bar', 'tap note' ); + Frames = Sprite.LinearFrames( 4, 1 ); +}; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Bar Tap explosion bright.png b/NoteSkins/kb7/retrobar/Bar Tap explosion bright.png new file mode 100644 index 0000000000..b6c9e91078 Binary files /dev/null and b/NoteSkins/kb7/retrobar/Bar Tap explosion bright.png differ diff --git a/NoteSkins/kb7/retrobar/Bar Tap explosion dim.redir b/NoteSkins/kb7/retrobar/Bar Tap explosion dim.redir new file mode 100644 index 0000000000..fbe22e3af1 --- /dev/null +++ b/NoteSkins/kb7/retrobar/Bar Tap explosion dim.redir @@ -0,0 +1 @@ +Bar Tap explosion bright \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/Down Roll BottomCap active.png b/NoteSkins/kb7/retrobar/Down Roll BottomCap active.png new file mode 100644 index 0000000000..bfbc8b39ac Binary files /dev/null and b/NoteSkins/kb7/retrobar/Down Roll BottomCap active.png differ diff --git a/NoteSkins/kb7/retrobar/Noteskin.lua b/NoteSkins/kb7/retrobar/Noteskin.lua new file mode 100644 index 0000000000..3ec0b59919 --- /dev/null +++ b/NoteSkins/kb7/retrobar/Noteskin.lua @@ -0,0 +1,93 @@ +-- from scratch, with various references. +local Noteskin = ... or {}; + +-- element redirs +Noteskin.ElementRedirs = { + -- ["element"] = "redir_element"; +}; + +-- button redirs (since this is a bar noteskin, it's all the same) +Noteskin.ButtonRedirs = { + Left = "Bar"; + UpLeft = "Bar"; + Up = "Bar"; + Down = "Bar"; + UpRight = "Bar"; + Right = "Bar"; + Key1 = "Bar"; + Key2 = "Bar"; + Key3 = "Bar"; + Key4 = "Bar"; + Key5 = "Bar"; + Key6 = "Bar"; + Key7 = "Bar"; +}; + +-- things to blank out +Noteskin.Hide = { + -- ["element"] = true/false; +}; + +-- rotations +Noteskin.BaseRotX = { + Left = 0; + UpLeft = 0; + Up = 0; + Down = 0; + UpRight = 0; + Right = 0; +}; +Noteskin.BaseRotY = { + Left = 0; + UpLeft = 0; + Up = 0; + Down = 0; + UpRight = 0; + Right = 0; +}; + +local function NoteskinLoader() + local Button = Var "Button" + local Element = Var "Element" + + if Noteskin.Hide[Element] then + -- Return a blank element. If SpriteOnly is set, we need to return a + -- sprite; otherwise just return a dummy actor. + local t; + if Var "SpriteOnly" then + t = LoadActor( "_blank" ); + else + t = Def.Actor {}; + end + return t .. { + cmd(visible,false); + }; + end; + + -- load element and button, using redirs + local LoadElement = Noteskin.ElementRedirs[Element] + if not LoadElement then + LoadElement = Element; + end; + + local LoadButton = Noteskin.ButtonRedirs[Button] + if not LoadButton then + LoadButton = Button; + end; + + -- get path to thing + local sPath = NOTESKIN:GetPath( LoadButton, LoadElement ); + + -- make actor + local t = LoadActor( sPath ); + + -- apply rotation + t.BaseRotationX=Noteskin.BaseRotX[sButton] + t.BaseRotationY=Noteskin.BaseRotY[sButton] + + return t; +end + +Noteskin.Load = NoteskinLoader; +Noteskin.CommonLoad = NoteskinLoader; +return Noteskin; \ No newline at end of file diff --git a/NoteSkins/kb7/retrobar/_bar hold explosion bright.png b/NoteSkins/kb7/retrobar/_bar hold explosion bright.png new file mode 100644 index 0000000000..cc89bb2a57 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar hold explosion bright.png differ diff --git a/NoteSkins/kb7/retrobar/_bar hold explosion dim.png b/NoteSkins/kb7/retrobar/_bar hold explosion dim.png new file mode 100644 index 0000000000..0cfe70cb32 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar hold explosion dim.png differ diff --git a/NoteSkins/kb7/retrobar/_bar mine 4x1.png b/NoteSkins/kb7/retrobar/_bar mine 4x1.png new file mode 100644 index 0000000000..c61fc8276a Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar mine 4x1.png differ diff --git a/NoteSkins/kb7/retrobar/_bar receptor base.png b/NoteSkins/kb7/retrobar/_bar receptor base.png new file mode 100644 index 0000000000..a3c9a85a03 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar receptor base.png differ diff --git a/NoteSkins/kb7/retrobar/_bar receptor tap.png b/NoteSkins/kb7/retrobar/_bar receptor tap.png new file mode 100644 index 0000000000..ce6aba0536 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar receptor tap.png differ diff --git a/NoteSkins/kb7/retrobar/_bar tap base.png b/NoteSkins/kb7/retrobar/_bar tap base.png new file mode 100644 index 0000000000..c76bd36fec Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar tap base.png differ diff --git a/NoteSkins/kb7/retrobar/_bar tap fake 8x8.png b/NoteSkins/kb7/retrobar/_bar tap fake 8x8.png new file mode 100644 index 0000000000..1a153092f7 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar tap fake 8x8.png differ diff --git a/NoteSkins/kb7/retrobar/_bar tap note 8x8.png b/NoteSkins/kb7/retrobar/_bar tap note 8x8.png new file mode 100644 index 0000000000..447a975d55 Binary files /dev/null and b/NoteSkins/kb7/retrobar/_bar tap note 8x8.png differ diff --git a/NoteSkins/kb7/retrobar/metrics.ini b/NoteSkins/kb7/retrobar/metrics.ini new file mode 100644 index 0000000000..9c25359917 --- /dev/null +++ b/NoteSkins/kb7/retrobar/metrics.ini @@ -0,0 +1,16 @@ +[NoteDisplay] +HoldLetGoGrayPercent=.8 + +[ReceptorArrow] +InitCommand=effectclock,"beat";diffuseramp;effectcolor1,color(".8,.8,.8,1");effectcolor2,color("1,1,1,1");effecttiming,.2,0,.8,0;effectoffset,.05 +NoneCommand=finishtweening;zoom,.85;diffusealpha,.9;linear,.11;diffusealpha,1;zoom,1 + +[ReceptorOverlay] +InitCommand=diffusealpha,0 +PressCommand=finishtweening;zoom,1;blend,"BlendMode_Add";diffusealpha,.8;decelerate,0.2;diffusealpha,0.4 +LiftCommand=stoptweening;decelerate,.2;diffusealpha,0;zoom,1.2 + +[HoldGhostArrow] +HoldingOnCommand=diffusealpha,0.625;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,.7");effectperiod,.1 +HoldingOffCommand=diffusealpha,0 +InitCommand=finishtweening;playcommand,"HoldingOff" \ No newline at end of file