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 baseImageLandscape = gfx.CreateSkinImage("gameplay/crit_line/base_landscape.png", 0)
|
||||
local textImage = gfx.CreateSkinImage("gameplay/crit_line/text.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.BeginPath();
|
||||
gfx.ImageRect(
|
||||
-CRITBAR_W/2,
|
||||
-CRITBAR_H/2,
|
||||
CRITBAR_W,
|
||||
CRITBAR_H,
|
||||
baseImage,
|
||||
1,
|
||||
0
|
||||
);
|
||||
if (isLandscape) then
|
||||
gfx.ImageRect(-CRITBAR_W/2, -CRITBAR_H/2, CRITBAR_W, CRITBAR_H, baseImageLandscape, 1, 0);
|
||||
else
|
||||
gfx.ImageRect(-CRITBAR_W/2, -CRITBAR_H/2, CRITBAR_W, CRITBAR_H, baseImage, 1, 0);
|
||||
end
|
||||
|
||||
drawCursors(centerX, centerY, cursors)
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue