I want to know the difference between a blit()
and a flip()
function, some of the tutorials I follow uses either of the two I have yet to see any actually use both and explain the difference.
I know that blit()
works on surface and flip()
only works on display, but both seems to be doing the exact same thing, so I'm confused - in the documentation (correct me if I'm wrong) blit()
seems to be putting another surface on top of the other and flip()
just swapes the surface, if that's the case - wouldn't flip()
be faster then blit()
considering that blit()
will just keep on stacking on top of the surface behind it and slowly building up memory?
EDIT: The question is not an exact duplicate of another, the link the user provided me where two completely different ones - but mentions the same function. It, did not however, answered my question at all. Please remove the duplicate tag from this post - Thanks