Mercurial > touhou
diff pytouhou/game/sprite.py @ 81:f5f9b5eb69a3
Handle one more ANM instruction, and handle sprite indexes offsets
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 03 Sep 2011 22:08:40 +0200 |
parents | b3bd421bb895 |
children | 3804f07d3b0e |
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.automatic_orientation = False + self.blendfunc = 0 # 0 = Normal, 1 = saturate #TODO: proper constants self.texcoords = (0, 0, 0, 0) # x, y, width, height