Castle Game Engine

Free open-source 3D and 2D game engine using modern Object Pascal


Read the "Getting Started", manual and the rest of our documentation.
You can also download view3dscene, our model viewer.

Support on Patreon
  • Use any 3D or 2D software to create your models in any format: X3D, glTF, VRML, Collada, OBJ, MD3, Spine...
  • Develop cross-platform applications, for desktop (Windows, Linux, macOS...), mobile (Android, iOS) and consoles (Nintendo Switch).
  • Optimized rendering with a lot of graphic effects (shadows, mirrors, bump mapping, shader effects...).
  • Build and edit the scene graph (X3D) at runtime. Create 3D processing, visualization tools and CAD applications.
  • Extensible system for game objects, with physics, creatures with AI and navmesh, and more.
  • Access numerous services, like in-app purchases and game services on mobile devices.
  • Create cross-platform user-interface with anchors and automatic scaling.