Screen Shots?

Mike C. Fletcher mcfletch at vrplumber.com
Tue Dec 4 18:04:03 EST 2007


katie smith wrote:
> UGH so frustrating. In my game there is a minimap. On top of the
> minimap is a window showing the part of the map your viewing. The
> minimap is composed of other little pictures piled of top of eachother.
>  
> I want to know how to basically take a picture from ex.((50,50),to
> (150,150)) and blit the mini window image on top of it. hard to
> explain but everytime I move the window box I don't want to redo the
> window with its couple hundred compiled image. I need to copy picture
> and make it into a surface??.. I dont even know.
>  
> Any help would be greatly appreciated
If you are using Pygame (you don't say which GUI library you are using),
you can draw the mini-map into a surface and then re-blit the surface to
the screen each time you want to display it.

HTH,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com




More information about the Python-list mailing list