How bayaola/axispy works
AxisPy is a Python 2D game engine with a Qt editor. A typical workflow is to open or create a project, edit scenes and assets, then run the game through the engine’s entity-component runtime and rendering systems. The repository also includes AI-assisted authoring, persistence, multiplayer, and project export. The graph combines relationships visible in excerpts or the source index with README-documented capabilities; unsampled subsystem links are omitted where their callers cannot be established.
Main entry points: chat_manager.py Chat orchestration · ecs.py Entity-component world · main.py Editor application · asset_manager.py Asset manager
Components 26
Project authoring
- Editor application
main.py - Editor workbench
editor/ui/main_window.py - Project settings
editor/ui/project_settings.py - Asset manager
editor/ui/asset_manager.py - Asset preview
editor/ui/preview_panel.py - AI chat dock
editor/ui/chat_dock.py
Game runtime
- Entity-component world
core/ecs.py - Scene model
core/scene.py - Game components
core/components - Rendering system
core/systems/render_system.py - Physics system
core/systems/physics_system.py - Resource manager
core/resources.py - Input handling
core/input.py - Runtime launch
core/runtime_launch.py
AI assistance
- Chat orchestration
core/ai/chat_manager.py - Engine context
core/ai/context_builder.py - AI tool executor
core/ai/tools.py - Model providers
core/ai/providers - Chat sessions
core/ai/session_manager.py
Persistence and delivery
- Scene serialization
core/serializer.py - Save slots
core/save_manager.py - Multiplayer component
core/components/multiplayer.py - Network protocol
core/multiplayer/protocol.py - Project exporter
export/builder.py - Distribution plugins
plugins/game_distribution/__init__.py
Other components
- Developer
Connections 30
- Developer → Editor application: opens
- Editor application → Editor workbench: launches
main.py - Editor application → Project settings: loads
main.py - Editor application → Resource manager: loads
main.py - Editor workbench → Asset manager: provides
- Asset manager → Asset preview: embeds
editor/ui/asset_manager.py - Asset manager → Scene serialization: uses
editor/ui/asset_manager.py - Asset manager → Resource manager: uses
- Editor workbench → AI chat dock: provides
- AI chat dock → Chat orchestration: requests
- Chat orchestration → Engine context: builds context
core/ai/chat_manager.py - Chat orchestration → AI tool executor: executes tools
core/ai/chat_manager.py - Chat orchestration → Chat sessions: manages sessions
core/ai/chat_manager.py - Chat orchestration → Model providers: queries models
core/ai/chat_manager.py - Scene model → Entity-component world: owns world
core/scene.py - Entity-component world → Game components: stores
core/ecs.py - Rendering system → Entity-component world: queries entities
core/systems/render_system.py - Rendering system → Game components: reads
core/systems/render_system.py - Physics system → Entity-component world: queries entities
core/systems/physics_system.py - Physics system → Game components: reads
core/systems/physics_system.py - Rendering system → Resource manager: uses assets
- Runtime launch → Scene model: runs scenes
- Input handling → Entity-component world: dispatches input
- Save slots → Scene serialization: serializes scenes
core/save_manager.py - Scene serialization → Scene model: reconstructs
core/serializer.py - Scene serialization → Resource manager: uses codecs
core/serializer.py - Multiplayer component → Network protocol: encodes messages
core/components/multiplayer.py - Multiplayer component → Game components: uses websocket
core/components/multiplayer.py - Distribution plugins → Project exporter: uses builder
plugins/game_distribution/__init__.py - Project settings → Project exporter: configures export