# castle-engine/castle-engine

Cross-platform (desktop, mobile, console, web) 3D and 2D game engine. Powerful visual editor. Support for glTF, X3D, IFC and more. Fast clean code using modern Pascal. Free and open-source.

Repository: https://github.com/castle-engine/castle-engine
Canonical: https://ross.abutalabs.com/products/castle-engine
Homepage: https://castle-engine.io/
Language: Pascal
License: NOASSERTION
License Family: other
Topics: pascal, 2d-game-engine, 3d-game-engine, game-engine, object-pascal, freepascal, fpc, delphi, castle-game-engine, x3d, gltf, hacktoberfest, delphi-library, delphi-source, firemonkey, fmx, lazarus-ide, vcl, delphi-game, delphi-game-engine
Last push: 2026-09-02T15:50:50+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 4232, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1239, forks 166 (observed 2026-09-03T02:15:09.824380+00:00)

## What it is
Castle Game Engine is a free, open-source cross-platform 3D and 2D game engine written in modern Object Pascal, with a powerful visual editor and support for formats like glTF, X3D, Spine, and IFC. It targets desktop, mobile, console (Nintendo Switch), and web, and integrates with VS Code, Lazarus, and Delphi.

## Use cases
- build a 3D or 2D game with a visual editor
- create cross-platform games for desktop, mobile, and web from one project
- develop games in Pascal or Delphi
- load glTF and Blender models in a game engine
- make 2D games with sprite sheets and Spine animations
- deploy a game to Nintendo Switch or mobile
- design game UI with anchors and automatic scaling

## When to choose
- you prefer Pascal/Object Pascal and want fast native builds
- you need one codebase targeting desktop, mobile, console, and web
- you want an open-source engine with a visual editor and glTF/X3D support
- you use Lazarus, Delphi, or VS Code as your IDE

## When to avoid
- you need a large ecosystem of marketplace assets and community tutorials like Unity or Godot
- your team works primarily in C++, C#, or another mainstream game language
- you need mature VR support today
- you rely on engine features only available in mainstream engines (e.g., advanced built-in physics or networking ecosystems)

## Facets
- artifact type: framework
- maturity: active
- function: game-engine, graphics, gui, animation, ui-components, build-tool
- domain: graphics, cross-platform, simulation
- platform: windows, cross-platform, wasm, game-engine, cpp
- tags: pascal, object-pascal, gltf, x3d, visual-editor, 2d-games, 3d-games, lazarus, delphi, nintendo-switch, spine, tiled, game-development, linux, macos, android, ios

## Member repositories
- castle-engine/castle-engine (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.824380+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:21:51.394490+00:00, confidence not recorded.
  - readme: https://github.com/castle-engine/castle-engine (fetched 2026-09-03T02:15:09.824380+00:00, sha 1e468a2eb5d7)
  - homepage: https://castle-engine.io/ (fetched 2026-08-29T12:21:04.123815+00:00, sha 6b7e36a807e0)
  - site_page: https://castle-engine.io/features (fetched 2026-08-29T12:21:04.126422+00:00, sha 73edfc4e12f1)
  - site_page: https://castle-engine.io/wp/2026/08/26/particle-system-updates-custom-shaders-web-support-freecad-x3d-exporter-documentation-exe-size-2d-easy-link-to-api-geometry-shader-fixes (fetched 2026-08-29T12:21:04.128774+00:00, sha 110ad5d1175b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
