Inventory Scale 0 ▲ ronjeffries.com 81 days ago · 6 min read1248 words · Tech · hide · Fediverse post 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… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town