Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
80:211e84207b3b | 81:f5f9b5eb69a3 |
---|---|
44 self._changed = False | 44 self._changed = False |
45 | 45 |
46 self.scale_interpolator = None | 46 self.scale_interpolator = None |
47 self.fade_interpolator = None | 47 self.fade_interpolator = None |
48 self.offset_interpolator = None | 48 self.offset_interpolator = None |
49 | |
50 self.automatic_orientation = False | |
49 | 51 |
50 self.blendfunc = 0 # 0 = Normal, 1 = saturate #TODO: proper constants | 52 self.blendfunc = 0 # 0 = Normal, 1 = saturate #TODO: proper constants |
51 | 53 |
52 self.texcoords = (0, 0, 0, 0) # x, y, width, height | 54 self.texcoords = (0, 0, 0, 0) # x, y, width, height |
53 self.dest_offset = (0., 0., 0.) | 55 self.dest_offset = (0., 0., 0.) |