Debian Codegraph @

examples/audio/game_3d_sound/README.md

raw symbols SCIP
1 # 3D Sound Game Demo
2
3 Walk around the 3D world with 3D (spatial) sound attached to some objects.
4
5 **History:** Initial version of this demo was a first test of using OpenAL with _Castle Game Engine_,
6 done on 2003-11, attaching sounds to various moving 3D objects.
7 It was also the first (and the last, for now) program where I used lightmaps
8 generated by our own genLightMap --- the point was to bake shadows
9 on the ground texture base_shadowed.png. (since then we switched to using Blender baking when needed.)
10 This demo was modified many times since then,
11 to simplify and take advantage of TCastleTransform,
12 TCastleViewport, editor, TCastleSoundSource and many other CGE features.
13
14 Ideas for improvements (TODOs):
15
16 - add collisions between rat and tnts and level main scene
17 - more interesting rat movement track. Maybe use AI from TCastleMoveAttack once done
18 - more elaborate level (initially, some house and more lamps were planned)
19 - better rat sound
20
21 Using [Castle Game Engine](https://castle-engine.io/).
22
23 ## Building
24
25 Compile by:
26
27 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
28
29 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
30
31 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `game_3d_sound_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
32
33 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `game_3d_sound_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.