Search found 1 match

by alissona2
Fri Feb 12, 2016 8:20 pm
Forum: Libraries and Tools
Topic: examples.love
Replies: 43
Views: 21706

Re: examples.love

ingsoc451 wrote:At least it doesn't loop

You can add

Code: Select all

function love.keypressed(k)
    if k == "escape" then video:pause() end
end
in fact it can loop, but not natively ... did an alternative code for that:

Code: Select all

if vid:isPlaying() == false then --loop
	vid:pause()
	vid:rewind()
	vid:play()
end