# Window Variables window_width = 3200 window_height = 2400 window = pygame.display.set_mode((window_width // 4, window_height // 4), 0, 32) # Player Variables player = Entities.Player(375, 375) # Camera Variables camera = Entities.Camera(10, 10, 780, 580) # Button Variables button_list = { 'Play_Button': Entities.Buttons(100, 100, 300, 100), 'Quit_Button': Entities.Buttons(100, 250, 150, 70) } # Room Variables room_count_total = 0 cur_level = 0 room_size = 11 room_model = 1 room = Utility.create_room(cur_level, room_size, room_model) platform_list = room[0] door_dict = room[1] door_pos = room[2] path = Utility.create_path(0, False, [2, 2]) cur_step = 0
pygame.display.set_caption('Main.py') # Window Variables window_width = 3200 window_height = 2400 window = pygame.display.set_mode((window_width // 4, window_height // 4), 0, 32) # Player Variables player = Entities.Player(375, 375) image = pygame.image.load('Images/player_s.png') # Camera Variables camera = Entities.Camera(10, 10, 780, 580) # Button Variables button_list = {'Play_Button': Entities.Buttons(100, 100, 300, 100), 'Quit_Button': Entities.Buttons(100, 250, 150, 70), 'Thx_Button': Entities.Buttons(100, 100, 300, 100)} # Object Variables arrow_image = pygame.image.load('Images/directional_arrows_s.png') arrow_width = arrow_image.get_width() // 2 arrow_height = arrow_image.get_height() // 2 item_image = pygame.image.load('Images/items.png') item_width = item_image.get_width() // 2 item_height = item_image.get_height() items_dict = {'note_1': Entities.Items(460, 445), 'note_2': Entities.Items(460, 455), 'note_3': Entities.Items(460, 445)} # Room Variables room_count_total = 0