Sep-19-2016, 03:38 AM
(Sep-19-2016, 01:52 AM)metulburr Wrote:(Sep-19-2016, 01:41 AM)Gengar Wrote: for some reason it only gives the value <rect(1856, 960, 64, 64)>
Quote:def make_tiles(self, ): self.tile_rect = pygame.Rect(ORIGIN, [TILE for x in xrange(2)]) for i in range(self.amount_of_tiles): self.tile.append(self.tile_rect)
In this method you are appending to the tile list the tile_rect attribute which is the same rect. What else are you expecting?
Ty for your solution.