I tried both Castle Game Engine and Godot but that was long ago. Things have changed, as Castle Game Engine has been improved fast, many new features have added recently. But still, I believe Godot is much better.
Castle Game Engine's features summary:- Windows, Linux, macOS, FreeBSD, Raspberry Pi, Android, iOS, Nintendo Switch ... checked.
- glTF, X3D, sprite sheets, Spine ... checked.
- Text, fonts, shaders, bump mapping, animation blendind/cross-fading, physically-based rendering, shadow maps, shadow volumes, gamma correction, fog, occlusion culling, OpenGL ES 3.0 ... checked.
- Visual editor, networking, sound, physics, particles ... checked.
- Optimization and profiling, native and fast code using modern Pascal, build tool ... checked.
Those sound impressive, right? But this was my experience with Godot:
My experience with GodotI downloaded and tried Godot. I opened one of their sample project, that was a 3rd person isometric-view demo, something similar to Diablo. It run without any issue on my Linux computer. I followed the instruction to download/install an extension for exporting the project to Android. With some clicks that project that run on Linux now run on my Android phone. Cross-platform, screen resolution/aspect/orientation and all the headache issues that a game programmer needs to solve, all had been handled by Godot. That was really jaw-dropping.
What other engines are there with good pascal compatibilitiy?
As far as I know Godot invented their own scripting language and there is no Pascal extension available. If one is good in Pascal language, Castle Game Engine should be a good choice.
And these are less-featured options:
GLSceneIt can be installed on Lazarus using Online Package Manager. I tried it, no complaint about the engine. Unfortunately more than half of the demos couldn't run on Linux, mostly because file-naming issues. It is clear GLScene's developers are using Windows.
ZenGLThis project had been halted for a while. A fellow in the forum, made many improvements recently. It can be used to build Android games, of course the steps for generating Android binaries aren't so easy compare to Godot.
ZenGL currently has no 3D support. ZenGL started as 2D engine but recent versions now have full functionality of OpenGL/ES.
https://forum.lazarus.freepascal.org/index.php/topic,66337.msg508286.html#msg508286Allegro.pasI tried it, it had no 3D feature. The documentation was impressive. If you're good in Pascal, you should have no problem using it. After days of studying it, I was able to create Furious Paladin:
https://forum.lazarus.freepascal.org/index.php/topic,35313.msg253114.html#msg253114SDLI haven't tried it. But I know a member here, who was 13 if I remember correctly, could make simple game using Pascal+SDL, which is similar to Google's Dinosaur Game after days of studying it.
Not popular but it is worthwhile to mention:
ZGameEditorIt is built using Delphi and their scripting language is very Pascal-like, maybe it uses PascalScript.
nxPascalIt's development is slow but their demos look good.
https://wiki.freepascal.org/Choosing_a_Game_Engine#nxPascal