Recent

Author Topic: How to install Castle Game Engine?  (Read 951 times)

shyub

  • Full Member
  • ***
  • Posts: 124
How to install Castle Game Engine?
« on: February 02, 2023, 03:17:00 pm »
The repository contains CastleGameEngine-6.4.0 packages. However, when installing castle-engine-setup-7.0-alpha.snapshot.exe in Lazarus, all add-ons should be installed automatically.
How to properly prepare Lazarus to work with the Castle Game Engine and what should be installed in what order?

af0815

  • Hero Member
  • *****
  • Posts: 1288
Re: How to install Castle Game Engine?
« Reply #1 on: February 02, 2023, 06:06:33 pm »
CastleGameEngine have a own Forum https://forum.castle-engine.io/ , where your question is better supported.

The question is, what the CastleGameEngine must have to work with Lazarus. Here is a Forum for Lazarus, not for a external project, which is only using Lazarus/FPC.
regards
Andreas

shyub

  • Full Member
  • ***
  • Posts: 124
Re: How to install Castle Game Engine?
« Reply #2 on: February 02, 2023, 08:58:14 pm »
Thank you.

michalis

  • Full Member
  • ***
  • Posts: 137
    • Castle Game Engine
Re: How to install Castle Game Engine?
« Reply #3 on: February 03, 2023, 02:45:57 pm »
Though some CGE developers lurk also here :)

Basically:

- Download latest Castle Game Engine from https://castle-engine.io/download , in any form (on Windows, self-extracting exe is most comfortable). It's a 7.0-alpha-snapshot release, we're working intensively on 7.0 release.  Do not use anything from the Internet related to ancient 6.4 release :)

- Follow the manual on https://castle-engine.io/install .

In particular, to make Lazarus know CGE packages, be sure to do this:

"""
In Castle Game Engine editor Preferences, go to tab FPC and Lazarus and click on the button "Register Lazarus Packages".
"""

Note that you do not strictly need Lazarus integration -- you can build from CGE editor, that executes FPC directly, and doesn't care about Lazarus packages.

But if you want to open a CGE project in Lazarus and press F9 e.g. to use Lazarus debugger on CGE projects, then above ("Register Lazarus Packages") is exactly what you need.

If you're looking to put TCastleControl on LCL form, then also look at https://castle-engine.io/control_on_form .

Hope this helps!

shyub

  • Full Member
  • ***
  • Posts: 124
Re: How to install Castle Game Engine?
« Reply #4 on: February 03, 2023, 05:09:19 pm »
Thank you!

 

TinyPortal © 2005-2018