crit_line update
This commit is contained in:
parent
1e0f27b6dd
commit
b6f4901c59
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
local baseImage = gfx.CreateSkinImage("gameplay/crit_line/base.png", 0)
|
local baseImage = gfx.CreateSkinImage("gameplay/crit_line/base.png", 0)
|
||||||
|
local baseImageLandscape = gfx.CreateSkinImage("gameplay/crit_line/base_landscape.png", 0)
|
||||||
local textImage = gfx.CreateSkinImage("gameplay/crit_line/text.png", 0)
|
local textImage = gfx.CreateSkinImage("gameplay/crit_line/text.png", 0)
|
||||||
|
|
||||||
local cursorImage = gfx.CreateSkinImage("gameplay/crit_line/cursor.png", 0);
|
local cursorImage = gfx.CreateSkinImage("gameplay/crit_line/cursor.png", 0);
|
||||||
|
@ -106,15 +107,11 @@ local renderBase = function (deltaTime, centerX, centerY, rotation, cursors)
|
||||||
gfx.Fill()
|
gfx.Fill()
|
||||||
|
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
gfx.ImageRect(
|
if (isLandscape) then
|
||||||
-CRITBAR_W/2,
|
gfx.ImageRect(-CRITBAR_W/2, -CRITBAR_H/2, CRITBAR_W, CRITBAR_H, baseImageLandscape, 1, 0);
|
||||||
-CRITBAR_H/2,
|
else
|
||||||
CRITBAR_W,
|
gfx.ImageRect(-CRITBAR_W/2, -CRITBAR_H/2, CRITBAR_W, CRITBAR_H, baseImage, 1, 0);
|
||||||
CRITBAR_H,
|
end
|
||||||
baseImage,
|
|
||||||
1,
|
|
||||||
0
|
|
||||||
);
|
|
||||||
|
|
||||||
drawCursors(centerX, centerY, cursors)
|
drawCursors(centerX, centerY, cursors)
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue