[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Scrolling



How is scrolling done in pygame? i was thinking of blitting all gameobjects to a surface, then blitting part of that surface to the screen like this:
+---------------------+
 |          +-------+        |                     
 |           |            |         |
 |          +-------+        |
 |                                 |
+---------------------+
where the big box is the surface, and the small box is the screen.