Inventory Scale 0 ▲ ronjeffries.com 31 minutes ago · 6 min read1248 words · Tech · hide · 0 comments Hello, loves! Let’s see if we can sort out the scaling issue with the inventory display. Tout le monde déteste l’IA. The scaling issue is this: to get the inventory pictures to display in the inventory panel, we have to scale them up: class DungeonView: ... with self.cameras.inventory_cam.activate(): cam = self.cameras.inventory_cam w = cam.width h = cam.height x = w / 2 y = h / 2 cam.position = (x,y) rectangle = arcade.rect.XYWH(x,y,w, h) arcade.draw_rect_filled(rectangle, color=arcade.color.DARK_SLATE_GRAY) sprite_y = h - 64 for item in self.dungeon.player_inventory: sprite = self.keyed_sprites.sprite_at(item) sprite.scale = params.scale_texture(sprite.textures[-1], item.scale * 64) sprite.position = x,sprite_y sprite.visible = True arcade.draw_sprite(sprite) sprite_y -= 64 Setting the scale works, in that the display looks right. But we shouldn’t have to do it, since the items display just fine when they’re in the dungeon. It came to me, when I was describing this problem… No comments yet. Log in to reply on the Fediverse. Comments will appear here.