Added code for creating the background image in InGameState.

This commit is contained in:
2013-01-16 23:11:42 -04:30
parent af05a344bb
commit f65c1adf34
4 changed files with 38 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class TiledBackground():
if DEBUG:
print '(' + str(rep_x) + ', ' + str(rep_y) + ')'
self.image = pygame.Surface((self.w, self.h))
self.image = pygame.Surface((self.w, self.h), pygame.SRCALPHA)
render_x = 0
render_y = 0
for i in range(rep_x):