1 An example of a vertical scrolling map with pygame
3 There are some assumptions on the scrolling image for the seamless looping
5 - The image height must be at least twice the height of the
7 - The image must have two identical regions, one at the top and one at
8 the bottom, of the same height as the screen/viewport.
10 See the "Viewport" layer in the "road.svg" image.
12 A png image ready to use can be generated with this command line:
14 inkscape --file=road.svg --export-area-page --export-width=800 --export-png=road.png