Run the Castle Game Engine editor.
If you installed the engine using Windows installer, use your Windows menu to run the Castle Game Engine editor. On other systems, just unpack the engine archive wherever you like, and run the castle-editor executable (it is inside the bin subdirectory).
You need an application to edit Pascal code.
In principle, you can edit the Pascal code in any text editor you have. It’s just text. Even Notepad will do the job:) Although we really recommend something better (for syntax highlighting, code completion, integration with tools to build and debug etc.)
We recommend Visual Studio Code or VS Codium with our Castle Game Engine extension.
Or check out an IDE specialized for Pascal:
And if you want to learn Pascal, we got you covered.
All our downloads already contain the latest stable version of Free Pascal Compiler (FPC). So you don’t need to install anything more, building and running projects will "just work" out-of-the-box.
That being said, you can install more:
Delphi comes with both Delphi compiler and IDE.
Other FPC versions, in particular useful for cross-compiling, may be installed using fpcupdeluxe.
Configure in the the editor "Preferences" which compiler to use.
To improve this documentation just edit this page and create a pull request to cge-www repository.