mirror of
https://github.com/d3vyce/Python-Game.git
synced 2025-04-10 23:19:45 +02:00
9 lines
207 B
Python
9 lines
207 B
Python
import pygame
|
|
from pygame.locals import *
|
|
|
|
def init_game():
|
|
pygame.init()
|
|
screen = pygame.display.set_mode((1280, 720), pygame.SCALED)
|
|
pygame.display.set_caption("Test Window")
|
|
|
|
return screen |