Download the latest Castle Game Engine. Unpack the engine ZIP wherever you like.
Run the Castle Game Engine editor: open the unpacked
castle_game_engine directory, open the subdirectory
bin inside and run the
Next, you should install
a Pascal compiler (we support FPC and Delphi)
and a Pascal IDE (like Lazarus, Delphi, Visual Studio Code, or any other text editor you prefer).
For a fully open-source cross-platform environment we recommend FPC and Lazarus.
Install FPC and Lazarus.
Download and run a simple installer from the Lazarus website that will install both Lazarus (IDE) and FPC (compiler).
You can download packages for both FPC (download file like
fpc-3.2.2.intelarm64-macosx.dmg) and Lazarus (file like
Lazarus-2.2.0-0-x86_64-macosx.pkg) from the downloads on Lazarus website.
|You can install FPC and Lazarus in other ways, for example using FpcUpDeluxe.|
Configure FPC and Lazarus locations in Castle Game Engine editor Preferences, if they have not been auto-detected correctly.
In Castle Game Engine editor Preferences, go to tab FPC and Lazarus and click on the button "Register Lazarus Packages". This will allow to compile and debug CGE applications inside Lazarus.
Free Community Edition is fine. Though it doesn’t have a working
In Castle Game Engine editor, open Preferences dialog. In both the Code Editor and Compilation tabs set Delphi, if it was not auto-detected automatically.
To improve this documentation just edit the source of this page in AsciiDoctor (simple wiki-like syntax) and create a pull request to Castle Game Engine WWW (cge-www) repository.
Copyright Michalis Kamburelis and Castle Game Engine Contributors.