| 1 | # Eye of the Beholder |
| 2 | |
| 3 | Demo of a game like "Eye of the Beholder": |
| 4 | |
| 5 | - First-person view |
| 6 | |
| 7 | - Movement on a grid (AWSD keys) |
| 8 | - walking in a labirynth designed in Blender |
| 9 | - we prevent walking if we detect collision between current and target position |
| 10 | |
| 11 | - Rotations by 90 degrees (QE keys) |
| 12 | |
| 13 | - 6 buttons to perform movement and rotation, to be able to move/rotate using mouse (or touch on mobile) |
| 14 | |
| 15 | - Label shows current view direction |
| 16 | |
| 17 | - UI with stats for a band of 6 heroes (not functional, just a demo) |
| 18 | |
| 19 | Compare this with real "Eye of the Beholder" UI on https://thekingofgrabs.files.wordpress.com/2019/05/eye-of-the-beholder-3-pc-084.png :) |
| 20 | |
| 21 |  |
| 22 | |
| 23 | Using [Castle Game Engine](https://castle-engine.io/). |
| 24 | |
| 25 | ## Building |
| 26 | |
| 27 | Compile by: |
| 28 | |
| 29 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 30 | |
| 31 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |
| 32 | |
| 33 | - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `eye_of_beholder_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus). |
| 34 | |
| 35 | - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `eye_of_beholder_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details. |