Advertisement
Guest User

Untitled

a guest
Jul 9th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.73 KB | None | 0 0
  1. import rovstd as STD
  2. print("Alive?")
  3. import pygame
  4. print("works")
  5. configSTD = STD.config()
  6. #TTS = STD.TexttoSpeech()
  7. print("hyperDead")
  8. pygameFunc = STD.pygameSTD()
  9. print("dead")
  10. configList = configSTD.readConfig()
  11.  
  12. #TTS.language = configList[2][1]
  13. screenRes = [(1080,720), (1920,1000)]
  14. screenResUse = screenRes[int(configList[0][1]) - 1]
  15. pygame.init()
  16. gray = (95,95,95)
  17. screen = pygame.display.set_mode(screenResUse)
  18. pygameFunc.createOptionBoxes(configList)
  19. pygameFunc.configUdater = configSTD
  20. clock = pygame.time.Clock()
  21.  
  22. crashed = False
  23. while not crashed:
  24.      clock.tick(30)
  25.      screen.fill(gray)
  26.      pygameFunc.updateScreen(screen)
  27.      crashed = pygameFunc.didPressExit()
  28.      pygame.display.update()
  29. pygame.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement