Skip to content

Commit

Permalink
fix StomperZ positioning of HoldJudgment
Browse files Browse the repository at this point in the history
StomperZ GameMode allows you to shift the ReceptorArrows up (like Rhythm Horizon) or down (like ITG), and the associated items (Judgment, HoldJudgments, Combo, etc.) should ideally follow suit.

HoldJudgments didn't previously, but they should now.
  • Loading branch information
quietly-turning committed Sep 21, 2016
1 parent cb3546e commit 8a77487
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- ReceptorArrow positions are hardcoded using Metrics.ini
-- in both Casual and Competitive modes. If we're in one
-- in both Casual, Competitive, and ECFA modes. If we're in one
-- of those modes, bail now.
if SL.Global.GameMode ~= "StomperZ" then
return false
Expand Down Expand Up @@ -33,6 +33,8 @@ return Def.Actor{
local scroll = playeroptions:UsingReverse() and "Reverse" or "Standard"
local position = SL[p].ActiveModifiers.ReceptorArrowsPosition

topscreen:GetChild('Player'..p):GetChild("NoteField"):addy( ReceptorPositions[scroll][position] )
-- The "Player ActorFrame contains several things like NoteField, Judgment, HoldJudgment, etc.
-- Shift the entire ActorFrame up/down, rather than try to position its children individually.
topscreen:GetChild('Player'..p):addy( ReceptorPositions[scroll][position] )
end
}

0 comments on commit 8a77487

Please sign in to comment.