# Arcade \(Python\)

Python 2D game library built on pyglet and OpenGL with sprites, views and game helpers\.

ID: Q784 · Revision: 832

Type: software · License: MIT for Arcade code and documentation; bundled resources use CC0 or similar permissive terms\.[^license][^assets] · Status: active

Website: https://api.arcade.academy/



Arcade is a Python library for 2D games built on pyglet and OpenGL\. It provides sprites, view\-based screen organization, collision and physics helpers, and access to lower\-level graphics functionality\. It is distinct from the unrelated Arcade\.dev service and is primarily a desktop game\-development option\.[^repo][^home][^install]

## Screens and event handling

Arcade's View classes separate screens such as menus, gameplay and pause interfaces\. A view supplies drawing, update and input behavior while the Window retains responsibilities such as its dimensions\. Switching the active view changes which behavior handles the displayed screen\. This offers structure for a growing game without implying that an existing program's event loop can be copied unchanged\.[^views]

## Sprites and collision organization

SpriteList groups sprites for rendering and for collision\-related operations\. The tutorial separates a player from wall geometry so the same lists can serve distinct game roles\. Spatial hashing can accelerate collision queries for largely stationary objects, but moving those objects becomes more expensive\. It is therefore a workload\-dependent design choice rather than an optimization that should be applied indiscriminately to every list\.[^sprites]

## Graphics and threading

Arcade exposes an OpenGL context through the window and distinguishes CPU\-side texture data from graphics objects that require an initialized context\. Some objects defer their graphics initialization, but arbitrary worker\-thread interaction with OpenGL objects is not supported\. The documented resource\-collection behavior keeps graphics cleanup associated with the context, which matters when combining a game with background processing\.[^gl]

## Platforms and versions

The stable 3\.3\.3 documentation requires Python 3\.9 or later and suitable OpenGL 3\.3 support, with a qualified GLES path for compatible single\-board computers\. It explicitly excludes web and mobile deployment\. Windows, macOS and Linux are covered, with additional caveats for some ARM systems\. The project's development documentation is a separate stream and should not be used to assume unreleased behavior is present in the stable package\.[^install][^home][^repo]

## Rendering without an interactive window

Arcade can use pyglet's headless support on Linux systems with EGL\. It can render into framebuffers for image output, but ordinary window input events are absent\. An application designed around keyboard or mouse interaction therefore needs a different control path in this mode\. Headless availability is a specific deployment capability, not proof that any interactive game runs unchanged on a server\.[^headless]

## Assets, licensing and distribution

Arcade's code and documentation use MIT, while built\-in resources use CC0 or similarly permissive terms\. Resource handles provide a convenient way to locate bundled images, sounds and fonts without hard\-coding their installation paths\. The distribution guide separately discusses packaging and application signing; a runnable script is not itself a finished distributable\. Imported assets and added dependencies require their own licensing checks\.[^license][^assets]

## Substitution considerations

Arcade can replace [pygame](/pygame) for a desktop 2D game when a team wants its view, sprite\-list and graphics abstractions\. The migration concerns the program architecture as well as individual function calls: pygame's explicitly managed loop and Surface operations do not become Arcade views and graphics objects automatically\. Hardware requirements and deployment targets should be established before committing to that port\.[^views][^sprites][^gl][^install][^pygame]

## Capabilities and substitutions

### Sprite lists and collision helpers — supported

SpriteList groups objects for drawing and collision; spatial hashing suits mostly stationary collision geometry\.[^sprites]

Use case: Creating Python 2D desktop games with structured sprite and view APIs · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### View\-based screens — supported

Views separate drawing, updating and input behavior for screens within a window\.[^views]

Use case: Creating Python 2D desktop games with structured sprite and view APIs · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Desktop graphics — limited

Stable documentation requires Python 3\.9\+ and OpenGL 3\.3\+ or a qualified GLES route; web and mobile are unsupported\.[^install]

Use case: Creating Python 2D desktop games with structured sprite and view APIs · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Headless rendering — limited

Linux EGL headless mode supports rendering without window input events, requiring suitable application logic\.[^headless]

Use case: Creating Python 2D desktop games with structured sprite and view APIs · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### [Substitute for pygame](/pygame) — limited

Assessment: an alternative for desktop Python 2D games when Arcade's OpenGL requirements and view/sprite APIs fit\. It changes rendering and event\-loop architecture rather than directly opening pygame projects; it does not establish mobile or browser deployment parity\.[^install][^sprites][^views][^pygame]

Use case: Creating Python 2D desktop games with structured sprite and view APIs · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

## References

[^repo]: [Python Arcade README](<https://github.com/pythonarcade/arcade/blob/development/README.md>) — 2D scope, pyglet/OpenGL foundation and stable/development distinction (vendor; retrieved 2026-10-07T20:00:35Z)

[^home]: [Arcade stable documentation](<https://api.arcade.academy/en/stable/>) — Stable 3\.3\.3 library overview (vendor; retrieved 2026-10-07T19:59:56Z)

[^install]: [Arcade installation](<https://api.arcade.academy/en/stable/get_started/install.html>) — Python 3\.9\+, OpenGL/GLES, desktop and unsupported web/mobile (vendor; retrieved 2026-10-07T20:01:02Z)

[^sprites]: [Arcade SpriteList tutorial](<https://api.arcade.academy/en/stable/tutorials/platform_tutorial/step_03.html>) — Sprite lists, collision roles and spatial hashing tradeoff (vendor; retrieved 2026-10-07T20:00:21Z)

[^views]: [Arcade view tutorial](<https://api.arcade.academy/en/stable/tutorials/views/index.html>) — Screen transitions, event callbacks and window responsibilities (vendor; retrieved 2026-10-07T20:02:33Z)

[^gl]: [Arcade OpenGL notes](<https://api.arcade.academy/en/stable/programming_guide/opengl_notes.html>) — Context ownership, deferred initialization and main\-thread restrictions (vendor; retrieved 2026-10-07T20:00:35Z)

[^headless]: [Headless Arcade](<https://api.arcade.academy/en/stable/programming_guide/headless.html>) — Linux EGL rendering without window/input events (vendor; retrieved 2026-10-07T20:00:35Z)

[^license]: [Arcade licensing and distribution](<https://api.arcade.academy/en/stable/about/permissive_licensing.html>) — MIT, resource terms and packaging/signing (vendor; retrieved 2026-10-07T20:04:04Z)

[^assets]: [Arcade built\-in resources](<https://api.arcade.academy/en/stable/api_docs/resources.html>) — Resource handles and CC0 or similar asset terms (vendor; retrieved 2026-10-07T20:04:04Z)

[^pygame]: [pygame documentation](<https://www.pygame.org/docs/>) — Application\-controlled Python game loop (vendor; retrieved 2026-10-07T19:53:52Z)

Source revision: https://substitutefor.net/entities/Q784?revision=832
