problems with camera
i tried to use a library to do the camera and doens't worked, how can i fix it?
Link Of My Game: https://microstudio.io/i/warrior/rnxfarm/
i tried to use a library to do the camera and doens't worked, how can i fix it?
Link Of My Game: https://microstudio.io/i/warrior/rnxfarm/
    draw = function()
      screen.clear()
      
      cam.withDraw(function() 
        screen.fillRect(0, 0, 900, 800, "rgb(60,147,16)")
        cam.drawMap(map, 0, 0, 900, 800)
        rian.draw()
      end)
    end