|
Post by Marco Kurvers on Apr 6, 2024 18:08:07 GMT
The Castle Game Engine is an engine in Pascal. You can use Lazarus, Delphi or Visual Studio Code. If you choose a new project, you can use a template to begin with the new project. A 2D or 3D template let you see how the engine and the units in Pascal works. You can also make a new project with an empty template. Attachments:
|
|
|
Post by Marco Kurvers on Apr 6, 2024 18:46:12 GMT
If you begin with an empty template, you see only this: This is the project. But you cannot yet place scenes, etc. First, the project needs a viewport. Go to the Edit menu and choose 'Add User Interface'. There are many choices. You can add, for example, an UI control. But you need a viewport. Look on the bottom of the menu. You see two viewports, a 2D and a 3D. You can also click with the mouse the rightbutton on the Group1 name. Go to the same menu and you can choose a viewport. Here, you see a 2D viewport. If you want to see the LabelFPS on the viewport, you must move the label to the Group1. The label must now moving under the viewport so you can see the FPS text on the viewport. Here you can see a 3D viewport, but the same for the LabelFPS is also by a 2D viewport.
|
|