Changeset 98:93256a0987a2
- Timestamp:
- 09/02/13 09:50:04 (7 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/level.py
r95 r98 136 136 # filled polygons 137 137 pygame.draw.polygon(surface, pygame.color.THECOLORS['white'], 138 pointlist, 0)138 pointlist, 0) 139 139 self._surface.blit(surface, (0, 0), special_flags=pgl.BLEND_RGBA_MULT) 140 140 self._exterior = True … … 155 155 for y in range(y_count): 156 156 tile_rect = pygame.rect.Rect(x * x_step, y * y_step, 157 x_step, y_step)157 x_step, y_step) 158 158 self._surface.blit(self._tile_image, tile_rect) 159 159 return self._surface
Note:
See TracChangeset
for help on using the changeset viewer.