StartClipedArea()
Posted: Sun Aug 07, 2005 8:52 am
Sometimes you want to draw sprites just on a small part of the screen.
You could clip all of them one by one, but that wouldn't work for sprites3D.
You could also use UseBuffer() on a sprite with the desired size draw everything there and draw this sprite on the screen, but that would be really slow. My sugestion is:
StartClipedArea(X,Y,Width,Height)
;draw all stuff
StopClipedArea()
You could clip all of them one by one, but that wouldn't work for sprites3D.
You could also use UseBuffer() on a sprite with the desired size draw everything there and draw this sprite on the screen, but that would be really slow. My sugestion is:
StartClipedArea(X,Y,Width,Height)
;draw all stuff
StopClipedArea()