self.boxart_area = pygame.Rect(0, self.info_container.top, self.info_container.w / 2, int(self.info_container.h * .4))
self.info_box = pygame.Rect(0, self.info_container.top, self.info_container.w / 2 - padding, int(self.info_container.h * .4))
self.description_area = pygame.Rect(0, self.info_container.top + self.boxart_area.h + padding, self.info_container.w, self.info_container.h - self.boxart_area.h - padding)
self.boxart_area = pygame.Rect(0, self.info_container.top, self.info_container.w, int(self.info_container.h * .333))
self.info_box = pygame.Rect(0, self.boxart_area.top + self.boxart_area.h + padding, self.info_container.w, int(self.info_container.h * .333))
self.description_area = pygame.Rect(0, self.info_box.top + self.info_box.h + padding, self.info_container.w, self.info_container.h - self.boxart_area.h - self.info_box.h - (padding*2))
It looks like you're new here. If you want to get involved, click one of these buttons!