Skip to main content

Tiny scene-based game loop core for small arcade games.

Project description

mini-arcade-core

mini-arcade-core is the simulation-first core of Mini Arcade.

It is backend-agnostic and focuses on:

  • scenes as simulation containers
  • entities and lightweight component-style data
  • systems for input, simulation, and render preparation
  • draw packets that backends can replay

Backends are responsible for:

  • window and event polling
  • drawing primitives, textures, and text
  • audio, capture, and frame presentation

Design goals

  • small, explicit API surface
  • deterministic simulation patterns
  • testable game logic outside the rendering layer
  • backend swapping between native and pygame

Frame mental model

A typical frame is:

  1. gather input and produce intents
  2. tick simulation and systems
  3. build draw packets
  4. let the selected backend render and present the frame

Install

pip install mini-arcade-core

Docs

See the monorepo docs for architecture and concepts:

  • docs/source/concepts/architecture.md
  • docs/source/concepts/capabilities.md
  • docs/source/tutorials/index.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mini_arcade_core-1.6.0.tar.gz (120.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mini_arcade_core-1.6.0-py3-none-any.whl (184.5 kB view details)

Uploaded Python 3

File details

Details for the file mini_arcade_core-1.6.0.tar.gz.

File metadata

  • Download URL: mini_arcade_core-1.6.0.tar.gz
  • Upload date:
  • Size: 120.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mini_arcade_core-1.6.0.tar.gz
Algorithm Hash digest
SHA256 0408f4be15758b9dc3d5670d33581101bf9b22d97da800ecb03696ecde491bd5
MD5 43f6e1da91d10d819aab8f4e5533f8a9
BLAKE2b-256 e79fa77515bba8600dd1ba0810d40eeb923f52648e95d490d00acb2321859796

See more details on using hashes here.

File details

Details for the file mini_arcade_core-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mini_arcade_core-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 840586b3278769ef94d07e6a6af6aa95417ac308ff1177dd11166b3b6cfe20b1
MD5 34f86610360cd0eca3b39cc1ab461dfb
BLAKE2b-256 30101e1d95b2b7793f69deee86fab56b1066ef0e7e4fe87cfc5ce41a8a952a7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page