You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using love.mouse.isDown is not sufficient for reliable click detection. Clicks may occur between mouse sampling points and go unnoticed by the game/application. The lower the framerate, the higher the probability that this happens.
Solution: use love.mousepressed and love.mousereleased instead, and make sure the click event has an effect even when mousereleased gets called in the same frame as mousepressed.
The text was updated successfully, but these errors were encountered:
Using
love.mouse.isDown
is not sufficient for reliable click detection. Clicks may occur between mouse sampling points and go unnoticed by the game/application. The lower the framerate, the higher the probability that this happens.Solution: use
love.mousepressed
andlove.mousereleased
instead, and make sure the click event has an effect even whenmousereleased
gets called in the same frame asmousepressed
.The text was updated successfully, but these errors were encountered: