You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
422 B
23 lines
422 B
7 months ago
|
function drawFPS()
|
||
|
love.graphics.setColor(1, 1, 1) -- RGB values for white are (1, 1, 1)
|
||
|
--love.graphics.setFont(DebugFont)
|
||
|
love.graphics.print("FPS: " .. love.timer.getFPS(), 1550, 10)
|
||
|
end
|
||
|
|
||
|
function DrawGame()
|
||
|
-- WindField
|
||
|
if DebugFlag then
|
||
|
World:draw()
|
||
|
drawFPS()
|
||
|
end
|
||
|
|
||
|
for _, v in ipairs(Bullets1) do
|
||
|
v:draw()
|
||
|
end
|
||
|
for _, v in ipairs(Bullets2) do
|
||
|
v:draw()
|
||
|
end
|
||
|
UserPlayer1:draw()
|
||
|
UserPlayer2:draw()
|
||
|
end
|