7 lines
193 B
Plaintext
7 lines
193 B
Plaintext
|
draw_cursor = function(x, y, line_height)
|
||
|
-- blink every 0.5s
|
||
|
if math.floor(Cursor_time*2)%2 == 0 then
|
||
|
App.color(Cursor_color)
|
||
|
love.graphics.rectangle('fill', x,y, 3,line_height)
|
||
|
end
|
||
|
end
|