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.1.tar.gz (120.5 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.1-py3-none-any.whl (184.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_arcade_core-1.6.1.tar.gz
  • Upload date:
  • Size: 120.5 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.1.tar.gz
Algorithm Hash digest
SHA256 5772c13171304f1748fc6be2d9f0fd6437733fdaf73cfd65caab7fada8cd4422
MD5 0ac1669032e32dad99e5297cf36655cf
BLAKE2b-256 b44d64a652b25f59a5e00ea69c08687f907faffd7e2e7a16bcb3288bd028b1ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_core-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6653e4d0fcb6066b691ef3885597ad50029142cce65b064a354f0e21ee9e4ee
MD5 73ad756c93bd62d59c88e0d8eb56d090
BLAKE2b-256 287f165b44bc66631de08c830b2f6628c94c786c611e3cbf5bfaff3cf04185bb

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