forked from s464965/WMICraft
19 lines
367 B
Python
19 lines
367 B
Python
import pygame
|
|
|
|
# game init
|
|
pygame.init()
|
|
|
|
# screen size
|
|
pygame.display.set_mode((800, 800))
|
|
|
|
# title and icon
|
|
pygame.display.set_caption('WMICraft')
|
|
icon = pygame.image.load('resources/icons/sword.png')
|
|
pygame.display.set_icon(icon)
|
|
|
|
running = True
|
|
while running:
|
|
for event in pygame.event.get():
|
|
if event.type == pygame.QUIT:
|
|
running = False
|