substitutefor

software · Q1270

Substitutes for Castle Game Engine

Object Pascal 2D/3D game engine with a visual editor, reusable components and cross-platform build tools.

Suggest a correction

Compare your options

Find a substitute for Castle Game Engine

Start with what you need to do. Compare the fit, differences, and sources for each option.

1 option

Unity

Suggested match

Already compared with Castle Game Engine. Its fit as a replacement still needs assessment.

How Castle Game Engine compares as a replacement

Building 2D/3D games with visual design and Object Pascal code limited

Castle Game Engine → Unity

Assessment: an alternative for 2D/3D games when a team accepts Object Pascal, Castle's component model and its supported deployment paths. A vendor guide maps concepts but does not establish automatic Unity project/C# conversion; shader, asset and service requirements need separate review.

Platforms: Windows, macOS, Linux, FreeBSD, Android, iOS, Web · Region: Version, build and integration requirements apply

Sources for this comparison (5)Article revision 1318

Substitution considerations

Castle Game Engine is a candidate alternative to Unity for teams seeking visual 2D/3D authoring combined with a Pascal codebase. Its Unity-oriented guide provides conceptual mappings, not a project converter. Game behavior, reusable designs, shaders, assets and service integrations need individual migration work. The engine's documented glTF and web limitations are especially relevant where the existing game relies on those capabilities.[1][2][3][5][7]

Overview

Castle Game Engine combines a visual editor with Object Pascal APIs for 2D and 3D games and applications. It supports reusable scene and interface designs, external model formats and platform-oriented build tooling. Its engine core, editor and example content have different licenses, and its web target has additional development and browser constraints.[1][5][6]

Visual design and code

The editor assembles worlds and interfaces using components and stores designs in a JSON-based representation. Designs can reference other designs, supporting reusable content comparable in purpose to prefabs. Developers can add project-specific components and use an external Pascal IDE for application code. This combines visual authoring and programming without making the saved design interchangeable with another engine's project format.[1]

Behavior and object ownership

Castle's guide for Unity developers maps some GameObject roles to TCastleTransform and describes behavior classes for attaching logic. It also distinguishes visual parenting from ownership: the parent controls hierarchy, while the owner participates in freeing component instances. A viewport is itself a UI component containing a view of the world. These differences matter when porting object lifetime, interface structure and camera behavior.[2]

Model interchange

The glTF guide supports GLB and glTF files, embedded or external textures, skinned animation and selected extensions. It explicitly lists morph targets as an outstanding feature. For skinned animated meshes, it describes bounding-box collision and suggests attaching more precise physical colliders to exposed joint transforms where needed. Thus, accepting a model format is not a promise of identical animation, material and collision behavior.[3]

Building and packaging

CastleEngineManifest.xml describes a project's source, identity and packaged files. The build tool distinguishes compiling from packaging and can select Free Pascal or Delphi where appropriate. It also integrates platform-specific dependencies and project conventions. This helps automate delivery, but a selected target still depends on a suitable compiler and its native toolchain rather than only on the visual design.[4]

Web-target limits

The web documentation labels the feature as undergoing intensive development. It describes a single-canvas application model and warns that the browser must own the main loop, making certain blocking message loops unsuitable. Persistent save data and file dialogs remain listed as TODOs. Consequently, desktop behavior should not be assumed to carry over unchanged, especially for games that depend on persistence, multiple windows or synchronous dialogs.[5]

Licensing boundaries

The core uses LGPL version 2 or later with a static-linking exception that allows independent application modules to keep their chosen license. The visual editor is separately GPL version 2 or later. Example code and most example data use BSD three-clause terms, with marked data exceptions. These distinctions concern different parts of the distribution: using the editor to author a game is not the same as distributing a modified editor or incorporating specially licensed example data.[6]

Capabilities & limitations

Visual scene and interface design

supported

The editor creates 2D/3D and UI designs, serializes them and supports reusable designs and custom components.[1]

Building 2D/3D games with visual design and Object Pascal code · Windows, macOS, Linux, FreeBSD, Android, iOS, Web · Version, build and integration requirements apply

1 source · check evidence
https://castle-engine.io/features

Visual designs, Pascal code, platforms and reusable components

vendor · checked 2026-10-07

Object Pascal application code

supported

Application behavior uses Pascal classes and APIs, including transform behaviors and views.[2]

Building 2D/3D games with visual design and Object Pascal code · Windows, macOS, Linux, FreeBSD, Android, iOS, Web · Version, build and integration requirements apply

1 source · check evidence
https://castle-engine.io/castle_game_engine_for_unity_developers

Transforms, behaviors, viewports and owner versus parent

vendor · checked 2026-10-07

glTF asset import

limited

GLB/glTF and several extensions are supported, but the current guide lists morph targets as missing and describes specific animated-collision behavior.[3]

Building 2D/3D games with visual design and Object Pascal code · Windows, macOS, Linux, FreeBSD, Android, iOS, Web · Version, build and integration requirements apply

1 source · check evidence
https://castle-engine.io/gltf

Formats, extension coverage, morph-target gap and animated collision

vendor · checked 2026-10-07

Web deployment

limited

The WebAssembly/WebGL route is in intensive development; browser loop, storage and window limitations require project-specific review.[5]

Building 2D/3D games with visual design and Object Pascal code · Windows, macOS, Linux, FreeBSD, Android, iOS, Web · Version, build and integration requirements apply

1 source · check evidence
https://castle-engine.io/web

Intensive development, single canvas, persistence TODOs and browser event-loop limits

vendor · checked 2026-10-07

References

  1. Castle Game Engine features

    Visual designs, Pascal code, platforms and reusable components

    vendor · retrieved 2026-10-07
  2. Castle overview for Unity developers

    Transforms, behaviors, viewports and owner versus parent

    vendor · retrieved 2026-10-07
  3. Castle glTF support

    Formats, extension coverage, morph-target gap and animated collision

    vendor · retrieved 2026-10-07
  4. Castle build tool

    Manifest, compile/package and compiler selection

    vendor · retrieved 2026-10-07
  5. Castle web target

    Intensive development, single canvas, persistence TODOs and browser event-loop limits

    vendor · retrieved 2026-10-07
  6. Castle licensing

    LGPL core with linking exception; GPL editor; BSD examples and marked data exceptions

    vendor · retrieved 2026-10-07
  7. Unity GameObjects manual

    GameObject/component authoring model

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
13182026-10-14 01:51:01/* wbeditentity-create-item:0| */ sf:93997104-dad8-4b31-a426-a894b177d5b4:v1 | Adds Castle Game Engine with distinct core/editor/example licensing, Pascal behavior architecture, glTF limits and a qualified Unity migration assessment. Web d | attribution: /proposals/93997104-dad8-4b31-a426-a894b177d5b4