I'm trying to make the line move when variable "g" increases
function _init() g=1 end function _update() if (btn(2)) g+=1 if (btn(3)) g-=1 end function _draw() cls() circ(64, 64, 20, 7) x = 64 + cos(g()) * 20 y = 64 + sin(g()) * 20 line(64, 64, x, y) print(g) end |