Commits

Radomir Dopieralski committed 38fdd52

Add the icon

  • Participants
  • Parent commits a7d7dd5

Comments (0)

Files changed (3)

         self.screen = pygame.display.set_mode((640, 480))
         self.first_draw = True
         self.tiles = resource.load_tiles('jelly.png', 32, 32)
+        pygame.display.set_icon(self.tiles[-1])
         for tile in self.tiles[36:40]:
             tile.set_alpha(192)
         for tile in self.tiles[46:50]:

jelly/jelly.png

Old
Old image
New
New image
     options = {
         'py2exe': {
             'bundle_files': 1,
-            'includes': 'jelly',
+            'packages': 'jelly',
+            'compressed': True,
+            'ascii': True,
         },
     },
     windows = [
         {
             'script': "run_jelly.py",
+            'icon_resources': [(1, "resources/jelly.ico")]
         }
     ],
     zipfile = None,