+ vf to gameplay

This commit is contained in:
FajsiEx 2021-08-12 21:26:31 +02:00
parent 3025c6651d
commit 7ee2e7f0b3
1 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@
-- or behaviours of the default to better suit them.
-- Skinning should be easy and fun!
local VolforceWindow = require('components.volforceWindow')
local RECT_FILL = "fill"
local RECT_STROKE = "stroke"
local RECT_FILL_STROKE = RECT_FILL .. RECT_STROKE
@ -956,7 +958,7 @@ end
local statusBack = Image.skin("status_back.png")
local apealCard = Image.skin("appeal_card.png")
local dan = Image.skin("dan.png")
local volforce = Image.skin ("volforce.png")
function draw_status(deltaTime)
-- Draw the background
gfx.FillColor(255, 255, 255)
@ -969,7 +971,7 @@ function draw_status(deltaTime)
dan:draw({ x = 164, y = desh / 2 - 117, w = dan.w * 0.32, h = dan.h * 0.32 })
-- Draw the Volforce
volforce:draw({ x = 240, y = desh / 2 - 119, w = volforce.w * 0.12, h = volforce.h * 0.12 })
VolforceWindow.render(deltaTime, 220, desh / 2 - 140);
-- Draw the best difference
draw_best_diff(deltaTime, 145, desh / 2 - 174)