Hello
I am trying to do for my text blink thanks
how to make a text flash?
Re: how to make a text flash?
Simple ad hoc idea:
Code: Select all
local speed = 2
function love.draw()
local a = math.abs(math.cos(love.timer.getTime() * speed % 2 * math.pi))
love.graphics.setColor(1, 1, 1, a)
love.graphics.print("Blink.")
end
Re: how to make a text flash?
Thank you
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Semrush [Bot] and 10 guests