Commits

Brendan Howell committed f6f668b

fixed missing alpha channel on images

Comments (0)

Files changed (2)

     def _loadSurface_(self):
         """checks if image file is read and loads if needed"""
         path = os.path.join(PROJECT_DIR, self.file_name)
-        self.surface = pygame.image.load(path).convert()
+        self.surface = pygame.image.load(path).convert_alpha()
         self.original_surface = self.surface.copy()
         self.loaded = True
     
             fnt = pygame.font.match_font(fontName)
         else:
             print "Warning: font not found.  Using default."
-            fnt = "Helvetica"
+            fnt = "freesansbold.ttf"
         self.fontName = fontName
         self.font = pygame.font.Font(fnt, size)
         self.size = size