by jul' » May 22, 2002 @ 5:03pm
Imagine: I have a surface and I want to blit it to screen using coordinates -x= - 50, y = 0 (I want to move it then into screen). The surface is not blitted until it is entirely in the screen. Any solutions?
Imagine the size of your surface is WIDTH x HEIGHT
Create a rectangle of size (w,HEIGHT)
then blit your surface from coordinate (WIDTH-w,0) and the size of the rectangle to the screen.
grew w from 0 to WIDTH, one by one, and that will be ok...
jul'