Debian Codegraph @

examples/viewport_and_scenes/headlight/README.md

raw symbols SCIP
1 # Headlight Test
2
3 How to design a headlight (just place `TCastleDirectionalLight` or other light component as the child of camera), how to control it from code (just set `Exists` on any of the light components you want to toggle light on/off).
4
5 Using [Castle Game Engine](https://castle-engine.io/).
6
7 ## Building
8
9 Compile by:
10
11 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
12
13 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
14
15 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `headlight_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
16
17 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `headlight_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.