{"schemaVersion":"1.0","record":{"label":"Arcade (Python)","description":"Python 2D game library built on pyglet and OpenGL with sprites, views and game helpers.","aliases":["Python Arcade Library","Arcade game library"],"kind":"software","website":"https://api.arcade.academy/","overview":"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.","license":"MIT for Arcade code and documentation; bundled resources use CC0 or similar permissive terms.","lifecycle":"active","example":false,"features":[{"name":"Sprite lists and collision helpers","status":"supported","detail":"SpriteList groups objects for drawing and collision; spatial hashing suits mostly stationary collision geometry.","useCase":"Creating Python 2D desktop games with structured sprite and view APIs","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://api.arcade.academy/en/stable/tutorials/platform_tutorial/step_03.html","locator":"Sprite lists, collision roles and spatial hashing tradeoff","retrievedAt":"2026-10-07T20:00:21Z","kind":"vendor"}]},{"name":"View-based screens","status":"supported","detail":"Views separate drawing, updating and input behavior for screens within a window.","useCase":"Creating Python 2D desktop games with structured sprite and view APIs","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://api.arcade.academy/en/stable/tutorials/views/index.html","locator":"Screen transitions, event callbacks and window responsibilities","retrievedAt":"2026-10-07T20:02:33Z","kind":"vendor"}]},{"name":"Desktop graphics","status":"limited","detail":"Stable documentation requires Python 3.9+ and OpenGL 3.3+ or a qualified GLES route; web and mobile are unsupported.","useCase":"Creating Python 2D desktop games with structured sprite and view APIs","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://api.arcade.academy/en/stable/get_started/install.html","locator":"Python 3.9+, OpenGL/GLES, desktop and unsupported web/mobile","retrievedAt":"2026-10-07T20:01:02Z","kind":"vendor"}]},{"name":"Headless rendering","status":"limited","detail":"Linux EGL headless mode supports rendering without window input events, requiring suitable application logic.","useCase":"Creating Python 2D desktop games with structured sprite and view APIs","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://api.arcade.academy/en/stable/programming_guide/headless.html","locator":"Linux EGL rendering without window/input events","retrievedAt":"2026-10-07T20:00:35Z","kind":"vendor"}]}],"alternatives":[],"slug":"arcade-python","draftAlternatives":[{"targetSlug":"pygame","status":"limited","detail":"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.","useCase":"Creating Python 2D desktop games with structured sprite and view APIs","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://api.arcade.academy/en/stable/get_started/install.html","locator":"Python 3.9+, OpenGL/GLES, desktop and unsupported web/mobile","retrievedAt":"2026-10-07T20:01:02Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/platform_tutorial/step_03.html","locator":"Sprite lists, collision roles and spatial hashing tradeoff","retrievedAt":"2026-10-07T20:00:21Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/views/index.html","locator":"Screen transitions, event callbacks and window responsibilities","retrievedAt":"2026-10-07T20:02:33Z","kind":"vendor"},{"url":"https://www.pygame.org/docs/","locator":"Application-controlled Python game loop","retrievedAt":"2026-10-07T19:53:52Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/pythonarcade/arcade/blob/development/README.md","locator":"2D scope, pyglet/OpenGL foundation and stable/development distinction","retrievedAt":"2026-10-07T20:00:35Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/","locator":"Stable 3.3.3 library overview","retrievedAt":"2026-10-07T19:59:56Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/get_started/install.html","locator":"Python 3.9+, OpenGL/GLES, desktop and unsupported web/mobile","retrievedAt":"2026-10-07T20:01:02Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/platform_tutorial/step_03.html","locator":"Sprite lists, collision roles and spatial hashing tradeoff","retrievedAt":"2026-10-07T20:00:21Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/views/index.html","locator":"Screen transitions, event callbacks and window responsibilities","retrievedAt":"2026-10-07T20:02:33Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/programming_guide/opengl_notes.html","locator":"Context ownership, deferred initialization and main-thread restrictions","retrievedAt":"2026-10-07T20:00:35Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/programming_guide/headless.html","locator":"Linux EGL rendering without window/input events","retrievedAt":"2026-10-07T20:00:35Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/about/permissive_licensing.html","locator":"MIT, resource terms and packaging/signing","retrievedAt":"2026-10-07T20:04:04Z","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/api_docs/resources.html","locator":"Resource handles and CC0 or similar asset terms","retrievedAt":"2026-10-07T20:04:04Z","kind":"vendor"},{"url":"https://www.pygame.org/docs/","locator":"Application-controlled Python game loop","retrievedAt":"2026-10-07T19:53:52Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/pythonarcade/arcade/blob/development/README.md","locator":"2D scope, pyglet/OpenGL foundation and stable/development distinction","retrievedAt":"2026-10-07T20:00:35Z","id":"repo","title":"Python Arcade README","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/","locator":"Stable 3.3.3 library overview","retrievedAt":"2026-10-07T19:59:56Z","id":"home","title":"Arcade stable documentation","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/get_started/install.html","locator":"Python 3.9+, OpenGL/GLES, desktop and unsupported web/mobile","retrievedAt":"2026-10-07T20:01:02Z","id":"install","title":"Arcade installation","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/platform_tutorial/step_03.html","locator":"Sprite lists, collision roles and spatial hashing tradeoff","retrievedAt":"2026-10-07T20:00:21Z","id":"sprites","title":"Arcade SpriteList tutorial","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/tutorials/views/index.html","locator":"Screen transitions, event callbacks and window responsibilities","retrievedAt":"2026-10-07T20:02:33Z","id":"views","title":"Arcade view tutorial","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/programming_guide/opengl_notes.html","locator":"Context ownership, deferred initialization and main-thread restrictions","retrievedAt":"2026-10-07T20:00:35Z","id":"gl","title":"Arcade OpenGL notes","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/programming_guide/headless.html","locator":"Linux EGL rendering without window/input events","retrievedAt":"2026-10-07T20:00:35Z","id":"headless","title":"Headless Arcade","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/about/permissive_licensing.html","locator":"MIT, resource terms and packaging/signing","retrievedAt":"2026-10-07T20:04:04Z","id":"license","title":"Arcade licensing and distribution","kind":"vendor"},{"url":"https://api.arcade.academy/en/stable/api_docs/resources.html","locator":"Resource handles and CC0 or similar asset terms","retrievedAt":"2026-10-07T20:04:04Z","id":"assets","title":"Arcade built-in resources","kind":"vendor"},{"url":"https://www.pygame.org/docs/","locator":"Application-controlled Python game loop","retrievedAt":"2026-10-07T19:53:52Z","id":"pygame","title":"pygame documentation","kind":"vendor"}],"overviewCitations":["repo","home","install"],"licenseCitations":["license","assets"],"sections":[{"id":"views","heading":"Screens and event handling","paragraphs":[{"id":"views-detail","content":[{"text":"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."}],"citations":["views"]}]},{"id":"sprites","heading":"Sprites and collision organization","paragraphs":[{"id":"sprites-detail","content":[{"text":"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."}],"citations":["sprites"]}]},{"id":"graphics","heading":"Graphics and threading","paragraphs":[{"id":"graphics-detail","content":[{"text":"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."}],"citations":["gl"]}]},{"id":"platforms","heading":"Platforms and versions","paragraphs":[{"id":"platforms-detail","content":[{"text":"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."}],"citations":["install","home","repo"]}]},{"id":"headless","heading":"Rendering without an interactive window","paragraphs":[{"id":"headless-detail","content":[{"text":"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."}],"citations":["headless"]}]},{"id":"license","heading":"Assets, licensing and distribution","paragraphs":[{"id":"license-detail","content":[{"text":"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."}],"citations":["license","assets"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Arcade can replace "},{"text":"pygame","targetSlug":"pygame"},{"text":" 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."}],"citations":["views","sprites","gl","install","pygame"]}]}]},"id":"Q784","revision":832,"updatedAt":"2026-10-13T11:07:18Z","sourceUrl":"https://substitutefor.net/entities/Q784?revision=832"}}