Mercurial > touhou
comparison pytouhou/ui/anmrenderer.py @ 384:690b5faaa0e6
Make rendering of multiple-sprites elements work like single-sprites.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 02 Oct 2012 13:27:05 +0200 |
parents | b9aecdc6f72f |
children | 402e96a0baeb |
comparison
equal
deleted
inserted
replaced
383:0537af9125a7 | 384:690b5faaa0e6 |
---|---|
47 self.sprites = sprites | 47 self.sprites = sprites |
48 self.clear_color = (0., 0., 0., 1.) | 48 self.clear_color = (0., 0., 0., 1.) |
49 self.force_allow_dest_offset = False | 49 self.force_allow_dest_offset = False |
50 self.index_items() | 50 self.index_items() |
51 self.load(index) | 51 self.load(index) |
52 self.objects = [self] | |
52 | 53 |
53 self.x = width / 2 | 54 self.x = width / 2 |
54 self.y = height / 2 | 55 self.y = height / 2 |
55 | 56 |
56 | 57 |