mini_arcade_core.backend.config¶
Configuration and utility functions for the mini arcade native backend.
Classes¶
Configuration for a game window (not implemented). |
|
Configuration for the renderer (not implemented). |
|
Configuration for font rendering (not implemented). |
|
Configuration for audio settings (not implemented). |
|
Settings for configuring the native backend. |
Module Contents¶
- class mini_arcade_core.backend.config.WindowSettings[source]¶
Configuration for a game window (not implemented).
- Variables:
- width: int = 800¶
- height: int = 600¶
- title: str = 'Mini Arcade'¶
- resizable: bool = False¶
- high_dpi: bool = False¶
- class mini_arcade_core.backend.config.RendererSettings[source]¶
Configuration for the renderer (not implemented).
- Variables:
(Color) (background_color) – Background color as (r,g,b, optional alpha).
- background_color: mini_arcade_core.backend.types.Color = (0, 0, 0)¶
- class mini_arcade_core.backend.config.FontSettings[source]¶
Configuration for font rendering (not implemented).
- Variables:
(str) (name) – Name of the font.
(Optional[str]) (font_path) – Path to the font file.
(int) (font_size) – Default font size.
- name: str = 'default'¶
- path: str | None = None¶
- size: int = 24¶
- class mini_arcade_core.backend.config.AudioSettings[source]¶
Configuration for audio settings (not implemented).
- Variables:
- enable: bool = False¶
- sounds: dict[str, str] | None = None¶
- class mini_arcade_core.backend.config.BackendSettings[source]¶
Settings for configuring the native backend.
- Variables:
- window: WindowSettings¶
- renderer: RendererSettings¶
- fonts: list[FontSettings]¶
- audio: AudioSettings¶