here's my first ever lua program:
Code: Select all
function love.draw()
for ky = 0, 239 do
for kx = 0, 319 do
love.graphics.point( kx, ky )
end
end
love.graphics.print("FPS: " .. love.timer.getFPS(), 50, 350)
end
Granted, my notebook (Acer Timeline) isn't very fast, but if I do the same routine in Blitz Basic, I'm getting 60 FPS..
Then I thought maybe the love.graphics.point function was slow, so I tried using .draw (1x1 pixel image) and .rect, but to no avail; about the same FPS..