New project templates in the Castle Game Engine editor
Primary tabs
New project templates in the Castle Game Engine editor
Click “New Project” in the Castle Game Engine editor for 4 new useful templates:
- Empty - 2D game - 3D FPS game - 3D model viewer
You can get the latest engine version from our main page, as usual. Just unpack and run bin/castle-editor
executable. (Or you can get the source code from GitHub). These templates arecsmall but also very useful as a starting point.
They show how to use most important engine features (design viewports, scenes, basic UI in the editor), advise using TUIState to split your code into states, show how to react to basic input (clicking on game field to do something).
Note that “3D FPS game” doesn’t use the item/creatures logic from the CastleCreatures unit, documented in the manual about utilities for typical 3D games. Instead the 3d_fps_game
presents much simpler (but also more flexible to extend) approach to implement creature AI, by dealing directly with TCastleScene.