Revision 2 of 3, by Michalis on 9-20-2022. The page as it is now.
Castle Game Engine
Castle Game Engine is a cross-platform 3D and 2D game engine.
- You can use any 3D or 2D software to create models in various formats: glTF, X3D, VRML, Spine JSON, Collada.... In particular creating game models in Blender is fully supported, through the glTF format.
- The engine can be used to compile desktop (Linux, Windows, macOS), mobile (Android, iOS) and consoles (Nintendo Switch) games.
- You can design and build applications in a visual editor. The editor utilizes a command-line build tool under the hood. The build tool calls FPC and some other tools to compile and run the project.
- Many graphic effects are available: physically-based rendering, shadows, mirrors, bump mapping, shader effects, gamma correction. Rendering is done through OpenGL or OpenGLES.
- Numerous services, like in-app purchases and game services, are available on mobile devices. See Android servcies, iOS services.
- The user interface is cross-platform and supports anchors and automatic scaling.
The engine is open-source. The engine may be used under GNU LGPL with "static linking exception", just like FPC RTL and Lazarus LCL. So you can make both open- and closed-source games.
Screenshots
glTF 3D scene with outlines:
<img src="castle_game_engine_scene_outlines.png" width="500" />
Using gizmo to design 2D game:
<img src="castle_game_engine_gizmo2d.png" title="castle_game_engine_gizmo2d.png" width="500" />
"Escape from the Universe" game localized to Japanese:
<img src="castle_game_engine_japanese_game.jpg" title="castle_game_engine_japanese_game.jpg" width="500" />
Strategy game, using Tiled to design maps:
<img src="castle_game_engine_strategy_game.png" title="castle_game_engine_strategy_game.png" width="500" />
3rd-person camera demo:
<img src="castle_game_engine_third_person_camera.png" title="castle_game_engine_third_person_camera.png" width="500" />
3D model browser in Lazarus:
<img src="kambi_vrml_browser.jpg" title="kambi_vrml_browser.jpg" width="500" />
External links
- Castle Game Engine YouTube channel
- More complete list of engine features
- Manual, starting from Installation and Building your first application
- API reference
- Patreon page
From the Free Pascal wiki, page "Castle Game Engine", as it stood on 2022-09-20 after a change by Michalis, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
