Very Small Picture 0 ▲ ronjeffries.com 170 days ago · Tech · hide · Fediverse post I found a 1x1 transparent PNG. Let’s use it for AppearingContent. A sweet little improvement. we add it to the object’s textures here: class AppearingContent: def __init__(self, name, resource, scale=0.5): blank = '/Users/ron/Desktop/DungeonTiles/png/objects/1x1.png' self.name = name self.resources = [blank, resource] self.scale = scale We Change run to send state_number instead of set_visibility. (In Python boolean is a subclass of integer, with values 0 or 1, so this is legit.) class AppearingContent: def run(self, dungeon): dungeon.publish('state_number', self, False) self.visible = False def callback(event): dungeon.announce(f'{self.name} has appeared!') dungeon.publish('state_number', self, True) self.visible = True dungeon.subscribe_once(self.name + ' button_pressed', callback) DungeonView no longer needs to subscribe to set_visibility, so we delete this: class DungeonView: def subscribe_to_visibility(self, dungeon): def callback(event, item, a_boolean): self.view_do(item,… 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