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.4.tar.gz (135.0 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.4-py3-none-any.whl (202.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_arcade_core-1.6.4.tar.gz
  • Upload date:
  • Size: 135.0 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.4.tar.gz
Algorithm Hash digest
SHA256 8b8f782ec5789c95c6dac7715f93ece9f275c81e6e00d6f31bd9a33da9a55fd0
MD5 2001b85abc692a34838635576682f3db
BLAKE2b-256 5e0cda0d045d407b5b2c48a6098144aaa5ee9a6370239eaa57791a48938ca1e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_core-1.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 071192bfe64e4f6b1d82004289947d59a6ad06be452c559496fc08efd65e855a
MD5 7da48ecfcab64b1ff51873391ccf2a9e
BLAKE2b-256 aa25e9f94d6970f1fc6b577f582b86c2d4903e059b5df0da61e505cff0cef1d1

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