Download the latest Castle Game Engine. Unpack the engine ZIP wherever you like.
Inside the unpacked
castle_game_engine, you will find a subdirectory
bin. Run the
castle-editor executable inside.
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.
Go to the Lazarus website and download the latest release. It contains both Lazarus (IDE) and FPC (compiler) in one easy download.
|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.