Mercurial > mamba
comparison mamba/constants.py @ 561:9afaa1969d6f
Level format 2 support
* * *
Allow for blank author
* * *
Fix thinko in write code
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Tue, 18 Oct 2011 11:41:28 +0200 |
parents | 4be447ecf53d |
children | b94f3db7bc90 |
comparison
equal
deleted
inserted
replaced
560:a85993b00fd7 | 561:9afaa1969d6f |
---|---|
1 from pygame.locals import K_ESCAPE, K_q, K_BACKSPACE, K_DELETE | 1 from pygame.locals import K_ESCAPE, K_q, K_BACKSPACE, K_DELETE |
2 | |
3 # version tuple for maps | |
4 # NB: We only compare on the first two elements of the version when loading | |
5 # levels - this is so levels saved by later point releases are loadable by | |
6 # older versions. So changing the level format (new sprite, etc.) is not | |
7 # acceptable in a point release | |
8 VERSION = (0, 2, 0) | |
2 | 9 |
3 # Display constants | 10 # Display constants |
4 SCREEN = (800, 600) | 11 SCREEN = (800, 600) |
5 EDIT_SCREEN = (1000, 600) | 12 EDIT_SCREEN = (1000, 600) |
6 TILE_SIZE = (20, 20) | 13 TILE_SIZE = (20, 20) |