Mercurial > skaapsteker
changeset 522:4de4f94c326d
Move skaapsteker behind stuff and make haiku scrolls display text on collection.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 23:45:00 +0200 |
parents | 5a8a7f17597d |
children | c7c3f55554d4 |
files | skaapsteker/constants.py skaapsteker/level.py skaapsteker/sprites/items.py |
diffstat | 3 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/skaapsteker/constants.py Sat Apr 09 23:36:05 2011 +0200 +++ b/skaapsteker/constants.py Sat Apr 09 23:45:00 2011 +0200 @@ -20,6 +20,7 @@ # Layer defination class Layers(object): + SKAAPSTEKER = -1 # Special layer for snakes BACKGROUND = 0 # Absolute background BEHIND = 1 # Layer behind the player PLAYER = 2 # Layer of the player and enemies
--- a/skaapsteker/level.py Sat Apr 09 23:36:05 2011 +0200 +++ b/skaapsteker/level.py Sat Apr 09 23:45:00 2011 +0200 @@ -34,7 +34,7 @@ 'h': self.tile_factory('hanging-lantern.png', layer=Layers.IN_FRONT, dirname='common'), 's': self.tile_factory('standing-lantern.png', layer=Layers.IN_FRONT, dirname='common'), '!': self.tile_factory('dangly-bits.png', layer=Layers.IN_FRONT, dirname='common'), - 'k': self.tile_factory('skaapsteker.png', layer=Layers.BACKGROUND, dirname='skaapsteker'), + 'k': self.tile_factory('skaapsteker.png', layer=Layers.SKAAPSTEKER, dirname='skaapsteker'), }