Number-41 wrote:
Also while we're at it: how would I "add" my current view to the previous one? (so I can see traces of points drawn)
There's two methods to not clear the screen, the first is to actually not clear the screen, but most graphics cards do double-buffering, meaning you won't get to draw to the last frame, but the frame before that. And to make matters worse, some do triple buffering!
The reliable method would be to use a
Canvas.
As for your original question, richapple was completely, and utterly wrong, his method won't affect fps in any way. love.timer.sleep is, in fact, the only way to do so (short for actually being 'slow'). A very basic formula is $$ \frac{1}{FPS_{max}} - dt $$.
By default, though, vsync is on, which generally caps the fps to 60.