예제 #1
0
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
cur_level = 0
room_model = 0
room = Utility.create_room(cur_level, room_model)
platform_list = room[0]
door_dict = room[1]
door_pos = room[2]
spike_list = room[3]
path = Utility.create_path(0, False, [2, 2])
cur_step = 0

Room_width = 1600
Room_height = 1200