How teknoloji-filozoflari/pixel_color_game works
Piksel Atölyesi is an offline pixel-by-number painting game. A player chooses an image from the collection, paints matching cells (individually or by connected region), and can resume saved progress or export a completed image. The graph also captures custom-image import, bundled collection maintenance, rendering aids, and localization. Relationships are limited to calls or wiring shown by excerpts, SOURCE INDEX references, or the README; some documented features have unsampled implementation details.
Main entry points: main_window.py Main window · canvas.py Painting canvas · samples.py Bundled collection · app.py App startup
Components 24
Game interface
- Main window
src/pixel_coloring/ui/main_window.py - Collection browser
src/pixel_coloring/ui/collection_browser.py - Game screen
src/pixel_coloring/ui/game.py - Home actions
src/pixel_coloring/ui/home_actions.py - Game widgets
src/pixel_coloring/ui/widgets.py - Localization
src/pixel_coloring/ui/i18n.py - PNG export
src/pixel_coloring/ui/completed_actions.py
Painting runtime
- Painting engine
src/pixel_coloring/core/paint_engine.py - Painting model
src/pixel_coloring/core/painting.py - Game session
src/pixel_coloring/core/game_session.py - Painting canvas
src/pixel_coloring/rendering/canvas.py - Canvas camera
src/pixel_coloring/rendering/camera.py - Pointer handling
src/pixel_coloring/rendering/pointer.py - Tile cache
src/pixel_coloring/rendering/tile_cache.py - Progress preview
src/pixel_coloring/rendering/progress_preview.py
Image library
- Bundled collection
src/pixel_coloring/services/samples.py - Bundle updates
src/pixel_coloring/services/bundle_update.py - Library maintenance
src/pixel_coloring/services/library.py - Image conversion
src/pixel_coloring/importer/image_importer.py - Level files
src/pixel_coloring/importer/level_writer.py
Local persistence
- Progress database
src/pixel_coloring/persistence/database.py - Autosave manager
src/pixel_coloring/persistence/save_manager.py
Application services
- App startup
src/pixel_coloring/app.py
Other components
- Player
Connections 31
- Player → App startup: opens
README.md - App startup → Progress database: initializes
src/pixel_coloring/app.py - App startup → Bundled collection: prepares collection
src/pixel_coloring/app.py - App startup → Main window: opens
src/pixel_coloring/app.py - Player → Collection browser: chooses image
README.md - Main window → Collection browser: shows
src/pixel_coloring/ui/main_window.py - Main window → Game screen: opens
src/pixel_coloring/ui/main_window.py - Main window → Image conversion: converts image
src/pixel_coloring/ui/main_window.py - Main window → Level files: writes imported level
src/pixel_coloring/ui/main_window.py - Main window → Autosave manager: uses for saves
src/pixel_coloring/ui/main_window.py - Main window → Library maintenance: uses
src/pixel_coloring/ui/main_window.py - Collection browser → Level files: reads level
src/pixel_coloring/ui/collection_browser.py - Collection browser → Tile cache: uses thumbnails
src/pixel_coloring/ui/collection_browser.py - Game screen → Painting canvas: displays
src/pixel_coloring/ui/game.py - Game screen → Game widgets: uses controls
src/pixel_coloring/ui/game.py - Game widgets → Progress preview: renders preview
src/pixel_coloring/ui/widgets.py - Game widgets → Tile cache: renders image
src/pixel_coloring/ui/widgets.py - Painting canvas → Painting engine: handles painting
src/pixel_coloring/rendering/canvas.py - Painting canvas → Canvas camera: uses navigation
src/pixel_coloring/rendering/canvas.py - Painting canvas → Pointer handling: uses input
src/pixel_coloring/rendering/canvas.py - Painting canvas → Tile cache: renders tiles
src/pixel_coloring/rendering/canvas.py - Painting engine → Painting model: updates model
src/pixel_coloring/core/paint_engine.py - Game session → Painting engine: owns engine
src/pixel_coloring/core/game_session.py - Bundled collection → Bundle updates: installs revisions
src/pixel_coloring/services/samples.py - Bundled collection → Library maintenance: removes retired images
src/pixel_coloring/services/samples.py - Bundled collection → Progress database: registers collection
src/pixel_coloring/services/samples.py - Progress database → Level files: writes level files
src/pixel_coloring/persistence/database.py - Image conversion → Painting model: creates model
src/pixel_coloring/importer/image_importer.py - Autosave manager → Progress database: writes snapshots
src/pixel_coloring/persistence/save_manager.py - Player → PNG export: saves completed image
README.md - Main window → Localization: uses translations
src/pixel_coloring/ui/main_window.py