Mercurial > touhou
diff pytouhou/game/sprite.py @ 72:6a08f44fa01b
Handle a few more ANM instructions. pytouhou.game.background needs some serious refactoring.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 28 Aug 2011 01:23:11 +0200 |
parents | a03d7a94b997 |
children | b3bd421bb895 |
line wrap: on
line diff
--- a/pytouhou/game/sprite.py +++ b/pytouhou/game/sprite.py @@ -47,6 +47,8 @@ class Sprite(object): self.fade_interpolator = None self.offset_interpolator = None + self.blendfunc = 0 # 0 = Normal, 1 = saturate #TODO: proper constants + self.texcoords = (0, 0, 0, 0) # x, y, width, height self.dest_offset = (0., 0., 0.) self.allow_dest_offset = False