19 lines
317 B
Python
19 lines
317 B
Python
import pygame
|
|
from pygame.locals import *
|
|
import gamedata
|
|
import gametimer
|
|
import video
|
|
import shader
|
|
|
|
pygame.init()
|
|
gamedata.load_gamedata()
|
|
|
|
size = width, height = (1600,1200)
|
|
size = width, height = (1024,768)
|
|
|
|
video.set_res(size)
|
|
video.init()
|
|
video.enable_vsync()
|
|
gametimer.start_loop()
|
|
|
|
print shader.mgr.detect()
|