Posted November 14, 2024 by Kartik Agaram
Today's version has 5 minor bugfixes. The repository has the details. But the major quality of life improvement that merits a new version: the code editor spreads out over the whole screen width on phones with small screens. Thanks Origedit for the suggestion.
g = love.graphics arc = g.arc color = g.setColor pi = math.pi angle = 1 speed = 4 -- chomps/s function car.draw() color(0.7, 0.7, 0) arc('fill', 100,100, 30, 2*pi-angle, angle) end function car.update(dt) if angle > 1 then speed = -speed angle = 1 elseif angle < 0 then speed = -speed angle = 0 end angle = angle + speed*2*dt end