In my American Stack Overflow account, I asked how I could make the game wait a certain number of seconds. One of the results was using hump.timer, for example:
function love.load()
timer=require "hump.timer"
face=love.graphics.newImage("face.png")
end
function love.update(dt)
timer.update(dt)
end
function love.draw()
timer.after(1,function()
love.graphics.draw(face)
end)
end
but then there was an error saying that the module "hump.timer" was not found
So I asked why this happened to the person who gave me the hump.timer, and he said: Have you downloaded the hump library and added it to your project folder? And also, "hump.timer" in the require means that the timer.lua is inside a hump folder. So make sure that is where timer.lua is located. Otherwise you can put the timer.lua file in the same main.lua directory, and just use require "timer"But I do not know where to download this library. If someone helps me, I'll be grateful.