Add support for saving the raw output to a file
[experiments/pygame.git] / README.txt
1 An example of a vertical scrolling map with pygame
2
3 There are some assumptions on the scrolling image for the seamless looping
4 effect to work:
5   - The image height must be at least twice the height of the
6     screen/viewport.
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.
9
10 See the "Viewport" layer in the "road.svg" image.
11
12 A png image ready to use can be generated with this command line:
13
14   inkscape --file=road.svg --export-area-page --export-width=800 --export-png=road.png