blob: 4df60650c4967390602e365e1b26c747be645ca2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import sys
import pygame
def init():
pygame.display.set_caption("Blocks")
if sys.platform == "darwin":
pygame.display.set_icon(pygame.image.load('./assets/textures/icon-mac.png').convert_alpha())
else:
pygame.display.set_icon(pygame.image.load('./assets/textures/icon.png').convert_alpha())
pygame.mouse.set_visible(True)
|