HitFX, Early/Late display with ms #35
|
@ -103,7 +103,7 @@ local function setUpTransform(critCenterX, critCenterY, critRotation, xScalar)
|
|||
end
|
||||
|
||||
function HitFX.renderLasers(deltaTime, critCenterX, critCenterY, critRotation, cursors)
|
||||
local baseHitSize = 325 * 1.25;
|
||||
local hitSize = 406
|
||||
|
||||
-- Lasers
|
||||
for laser = 1, 2 do
|
||||
|
@ -133,28 +133,28 @@ function HitFX.renderLasers(deltaTime, critCenterX, critCenterY, critRotation, c
|
|||
|
||||
laserState.Dome:render(deltaTime, {
|
||||
centered = true,
|
||||
width = baseHitSize,
|
||||
height = baseHitSize,
|
||||
width = hitSize,
|
||||
height = hitSize,
|
||||
color = laserColor,
|
||||
x = x,
|
||||
})
|
||||
|
||||
laserState.Crit:render(deltaTime, {
|
||||
centered = true,
|
||||
width = baseHitSize,
|
||||
height = baseHitSize,
|
||||
width = hitSize,
|
||||
height = hitSize,
|
||||
x = x,
|
||||
})
|
||||
laserState.EndInner:render(deltaTime, {
|
||||
centered = true,
|
||||
width = baseHitSize,
|
||||
height = baseHitSize,
|
||||
width = hitSize,
|
||||
height = hitSize,
|
||||
x = x,
|
||||
})
|
||||
laserState.EndOuter:render(deltaTime, {
|
||||
centered = true,
|
||||
width = baseHitSize,
|
||||
height = baseHitSize,
|
||||
width = hitSize,
|
||||
height = hitSize,
|
||||
color = laserColor,
|
||||
x = x,
|
||||
})
|
||||
|
@ -162,14 +162,17 @@ function HitFX.renderLasers(deltaTime, critCenterX, critCenterY, critRotation, c
|
|||
end
|
||||
|
||||
function HitFX.renderButtons(deltaTime, critCenterX, critCenterY, critRotation)
|
||||
local baseHitSize = 325;
|
||||
--local baseHitSize = 325;
|
||||
local hitSize = 406
|
||||
|
||||
-- BT + FX
|
||||
for i = 1, 6 do
|
||||
--[[
|
||||
local hitSize = baseHitSize;
|
||||
if (i > 4) then
|
||||
hitSize = hitSize * 1.5;
|
||||
end
|
||||
]]
|
||||
|
||||
local laneWidth = (track.GetCurrentLaneXPos(2) - track.GetCurrentLaneXPos(1)) * (i <= 4 and 1 or 2);
|
||||
local lanePosition = track.GetCurrentLaneXPos(i) + laneWidth / 2
|
||||
|
|
Loading…
Reference in New Issue