Skip to content

Commit

Permalink
Imagine if there was a pop'n default skin.
Browse files Browse the repository at this point in the history
hello, uh, this is my favorite style. i'm not sure if i like this. WE'RE LOOKING FOR LOVE, TO BRING US TOGETHER.
  • Loading branch information
StarbotArc authored Dec 28, 2024
1 parent a16a713 commit c7c810c
Show file tree
Hide file tree
Showing 24 changed files with 190 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions NoteSkins/popn/default/Key Receptor.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
-- the funniest move around.
local button = Var "Button"

-- making sure the player isn't on downscroll
-- then doing a flip.
local flip = GAMESTATE:GetPlayerState(PLAYER_1):GetCurrentPlayerOptions():Reverse() == 1

local t = Def.ActorFrame {
Def.Sprite {
Texture = "_receptor",
Frame0000 = 0,
Delay0000 = 1,
InitCommand = function(self)
-- i love scaling textures
self:diffuse(color(colors[button])):zoomx(0.5)
if not flip then
self:rotationx(180)
end
end
},
Def.Sprite {
Texture = "_flash",
Frame0000 = 0,
Delay0000 = 1,
InitCommand = function(self)
self:diffuse(color(colors[button])):diffusealpha(0):zoomx(0.5)
if not flip then
self:rotationx(180)
end
end,
PressCommand = function(self)
self:diffusealpha(0.25)
end,
LiftCommand = function(self)
self:accelerate(0.25):diffusealpha(0)
end
}
}
return t
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions NoteSkins/popn/default/Key Tap Explosion Bright.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_blank
1 change: 1 addition & 0 deletions NoteSkins/popn/default/Key Tap Explosion Dim.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Key Tap Explosion Bright
14 changes: 14 additions & 0 deletions NoteSkins/popn/default/Key Tap Lift.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
local t = Def.ActorFrame {
Def.Sprite {
Texture = NOTESKIN:GetPath("", "lift")

Frame0000 = 0,
Delay0000 = 1,

InitCommand = function(self)
self:zoomx(0.5)
end
}
}

return t
19 changes: 19 additions & 0 deletions NoteSkins/popn/default/Key Tap Note.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- i keep telling myself this is the funniest thing i've seen.
local button = Var "Button"

local t = Def.ActorFrame {
Def.Sprite {
-- because there's not really a point of putting snaps on it,
-- if you actually want it to have snaps, use 0.74.0+ or
-- contact me.
Texture = "_bar",
Frame0000 = 0,
Delay0000 = 1,

InitCommand = function(self)
-- have to zoom these by a half because notefield is a fcuk.
self:diffuse(color(colors[button])):zoomx(0.5)
end
},
}
return t
73 changes: 73 additions & 0 deletions NoteSkins/popn/default/NoteSkin.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
local ret = ... or {}

-- doing a global color move so i can just not repeat these lines of code,
-- which is probably dumb but i'll take responsibility for it.
colors = {
["Left White"] = "#ffffff",
["Left Yellow"] = "#ffff00",
["Left Green"] = "#00ff00",
["Left Blue"] = "#0000ff",
["Red"] = "#ff0000",
["Right Blue"] = "#0000ff",
["Right Green"] = "#00ff00",
["Right Yellow"] = "#ffff00",
["Right White"] = "#ffffff",
}

-- i am not gonna make separate textures for these, feel free to make some if you want to not do this.
ret.RedirTable = {
["Left White"] = "Key",
["Left Yellow"] = "Key",
["Left Green"] = "Key",
["Left Blue"] = "Key",
["Red"] = "Key",
["Right Blue"] = "Key",
["Right Green"] = "Key",
["Right Yellow"] = "Key",
["Right White"] = "Key",
}

local OldRedir = ret.Redir

ret.Redir = function(sButton, sElement)
sButton, sElement = OldRedir(sButton, sElement)

--Point the head files back to the tap note
if string.find(sElement, "Head") or sElement == "Tap Fake" then
sElement = "Tap Note"
end

sButton = ret.RedirTable[sButton]

return 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" then
t.BaseRotationZ = nil
end
return t
end

-- where did ret.PartsToRotate go, to the dance store?
-- anyways you will not need it.

ret.Blank = {
["Hold Explosion"] = true,
["Roll Explosion"] = true,
["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
4 changes: 4 additions & 0 deletions NoteSkins/popn/default/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Deco - sonicjoplus

This skin is made so people can finally get to experience pop'n with a (mildly decent) skin.
Do whatever you will with this.
Binary file added NoteSkins/popn/default/_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NoteSkins/popn/default/_flash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NoteSkins/popn/default/_receptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NoteSkins/popn/default/lift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions NoteSkins/popn/default/metrics.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[Global]
FallbackNoteSkin=common

[NoteDisplay]
TapNoteAnimationIsVivid=0
DrawHoldHeadForTapsOnSameRow=1
TapNoteAnimationLength=1 // none of these matter because Lua is handling the animation, not sprites.
TapAdditionAnimationLength=1
TapMineAnimationLength=1
TapLiftAnimationLength=1
TapFakeAnimationLength=1
HoldHeadAnimationLength=1
HoldTopCapAnimationLength=1
HoldBottomCapAnimationLength=1
HoldBodyAnimationLength=1
HoldTailAnimationLength=1

StartDrawingHoldBodyOffsetFromHead=0
StopDrawingHoldBodyOffsetFromTail=0

HoldLetGoGrayPercent=.25

HoldHeadIsAboveWavyParts=1
HoldTailIsAboveWavyParts=1

ReverseDrawOrder=111111111
FlipHeadAndTailWhenReverse=1
FlipHoldBodyWhenReverse=1

TapNoteAdditionTextureCoordOffsetX=0
TapNoteAdditionTextureCoordOffsetY=0
TapNoteNoteColorTextureCoordSpacingX=0
TapNoteNoteColorTextureCoordSpacingY=0
TapFakeNoteColorTextureCoordSpacingX=0
TapFakeNoteColorTextureCoordSpacingY=0
HoldHeadNoteColorTextureCoordSpacingX=0
HoldHeadNoteColorTextureCoordSpacingY=0

TapFakeNoteOpacityMultiplier=0.25

0 comments on commit c7c810c

Please sign in to comment.