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.2.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.2-py3-none-any.whl (195.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_arcade_core-1.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3b993d6628ec5dfeec9f63bb0d20bb00b07d39ce3ffa286ae29ab6a4094c4106
MD5 6b151877b718ae08b7e29c0cfdad4097
BLAKE2b-256 70e17306f4ddf184e83ed9a39bf15d9b37cc4cbd50dd1c5bcc823c5865634a82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_core-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b2e50eaafabe878bf719c3a0d0adeba88f6387789d68626b81479723d6508f
MD5 db85bf0fc165a6a819440639b60d9f82
BLAKE2b-256 c3b5aa3961d9d95d9e50ec0ed1f231b04463794fae48fcc07a50263756a28036

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