diff --git a/README.md b/README.md index b3c142f..66c64ee 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,25 @@ Main installation on living room shelf, accompanied by [WLED](https://kno.wled.g ![Wideangle Photo of WideBoy Display](./docs/images/photo-wide-01.png) -Idle background slideshow and clock displaying AI generated tiled chocolate bar imagery: +Default scene showing background artwork carousel sprite as well as dynamic Home Assistant entity tile grid sprite: -![Background Slideshow: Chocolate](./docs/images/screenshot-background-chocolate.jpg) +![Default Scene](./docs/images/screenshot-scene-default.png) + +Default scene showing real-time incoming MQTT notification message: + +![Incoming Notification](./docs/images/screenshot-sprite-notification.png) + +Animated starfield scene: + +![Animated Starfied](./docs/images/screenshot-scene-starfield.png) + +Credits and debugging scene: + +![Animated Starfield](./docs/images/screenshot-scene-credits.png) + +Home Assistant MQTT Device: + +![Home Assistant Device](./docs/images/screenshot-hass-device.png) Another AI generated background slideshow example: diff --git a/docs/images/screenshot-background-alan-sugar.jpg b/docs/images/screenshot-background-alan-sugar.jpg deleted file mode 100644 index e0e0f25..0000000 Binary files a/docs/images/screenshot-background-alan-sugar.jpg and /dev/null differ diff --git a/docs/images/screenshot-background-chocolate.jpg b/docs/images/screenshot-background-chocolate.jpg deleted file mode 100644 index 8425e0a..0000000 Binary files a/docs/images/screenshot-background-chocolate.jpg and /dev/null differ diff --git a/docs/images/screenshot-hass-device.png b/docs/images/screenshot-hass-device.png new file mode 100644 index 0000000..39f7a6b Binary files /dev/null and b/docs/images/screenshot-hass-device.png differ diff --git a/docs/images/screenshot-scene-credits.png b/docs/images/screenshot-scene-credits.png new file mode 100644 index 0000000..9b52fc5 Binary files /dev/null and b/docs/images/screenshot-scene-credits.png differ diff --git a/docs/images/screenshot-scene-default.png b/docs/images/screenshot-scene-default.png new file mode 100644 index 0000000..87c1233 Binary files /dev/null and b/docs/images/screenshot-scene-default.png differ diff --git a/docs/images/screenshot-scene-starfield.png b/docs/images/screenshot-scene-starfield.png new file mode 100644 index 0000000..2212679 Binary files /dev/null and b/docs/images/screenshot-scene-starfield.png differ diff --git a/docs/images/screenshot-sprite-notification.png b/docs/images/screenshot-sprite-notification.png new file mode 100644 index 0000000..04149d2 Binary files /dev/null and b/docs/images/screenshot-sprite-notification.png differ diff --git a/docs/images/technical-surface-reshape.png b/docs/images/technical-surface-reshape.png deleted file mode 100644 index 3afea52..0000000 Binary files a/docs/images/technical-surface-reshape.png and /dev/null differ diff --git a/wideboy/sprites/tile_grid/__init__.py b/wideboy/sprites/tile_grid/__init__.py index 4915a66..eefc3a8 100644 --- a/wideboy/sprites/tile_grid/__init__.py +++ b/wideboy/sprites/tile_grid/__init__.py @@ -4,6 +4,7 @@ from wideboy.constants import EVENT_HASS_STATESTREAM_UPDATE from wideboy.scenes.base import BaseScene +from wideboy.sprites.base import BaseSprite from wideboy.sprites.tile_grid.helpers import ( Animator, AnimatorState, @@ -131,14 +132,14 @@ def animating(self): # Tile Grid Sprite -class TileGrid(pygame.sprite.DirtySprite): +class TileGrid(BaseSprite): state: Dict columns: List tile_surface_cache: Dict[str, pygame.Surface] = dict() update_frames: int = 0 def __init__(self, scene: BaseScene, cells: List[List[Type[TileGridCell]]]): - super().__init__() + super().__init__(scene, pygame.Rect(0, 0, 0, 0)) self.image = pygame.Surface((0, 0), pygame.SRCALPHA) self.rect = self.image.get_rect() self.scene = scene