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.3.tar.gz (128.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.3-py3-none-any.whl (195.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_arcade_core-1.6.3.tar.gz
  • Upload date:
  • Size: 128.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.3.tar.gz
Algorithm Hash digest
SHA256 bbcac05a7b467bfa2378774b472c2617939e940734becf341a9a037de3388760
MD5 ed00db7daf88901f8c49181a7f984fcf
BLAKE2b-256 56606bde2076c6fdfb7f2817b05ff422c1cd3d128e48b2457e1bf92a0623da3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_core-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e59a02770a8a6f9f128c090928a6973bb70518767317c44a553b0a5eed0405b
MD5 82fe7a01a96b073412ffdbb0531fc629
BLAKE2b-256 6cd804c523f941e334687e2adc5e79a1962e5c5105db9e25072fd4c4cc2e5670

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