Maluia

main

Sep 30th, 2024 (edited)
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | Gaming | 0 0
  1. import pygame
  2. import sys
  3.  
  4. from Level_1 import main_1
  5. from Level_2 import main_2
  6.  
  7. WIDTH, HEIGHT = 1000, 800
  8.  
  9. window = pygame.display.set_mode((WIDTH, HEIGHT), pygame.RESIZABLE)
  10.  
  11.  
  12. if  __name__ == "__main__":
  13.     main_1(window)
  14.     main_2(window)
  15.  
  16.  
  17.     pygame.quit()
  18.     sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment