Difference between revisions of "Castle Game Engine"

From Free Pascal wiki
(Mention 2D and Spine.)
(Videos: Link to youtube channel, add dragon spine movie link. list only some most important movies)
Line 28: Line 28:
== Videos ==
== Videos ==
* [http://www.youtube.com/watch?v=S0bA3mJ8lZc FPS game using Castle Game Engine 4.0.0]
See [https://www.youtube.com/channel/UCq9jJ5ivIXC5VEWiUAfxBxw Castle Game Engine YouTube channel] for all videos. Most interesting:
* [http://www.youtube.com/watch?v=qpUTK3_r7Lc Castle Game Engine - castle demo]
* [http://www.youtube.com/watch?v=ag-d-JGvHfQ Castle Game Engine - GLSL and parallax mapping demo] 
* [http://www.youtube.com/watch?v=daIrz3ehN_I Castle Game Engine - rift demo]
* [http://www.youtube.com/watch?v=qtrSIisc6do Castle Game Engine - dynamic collisions]
* [http://www.youtube.com/watch?v=V-EJvVbi1DQ Castle Game Engine - flames animation]
* [http://www.youtube.com/watch?v=5DTu9tEn44g Animated cloth with bump mapping]
* [http://www.youtube.com/watch?v=RMTXqTu4tKc Triangulation by ear clipping]  
* [http://www.youtube.com/watch?v=1mUU8prDi9k Water with caustics in view3dscene]
* [http://www.youtube.com/watch?v=kQbeA83LS-k Explosion rendered using Castle Game Engine]
* [https://www.youtube.com/watch?v=AuI4zgmT-YQ Dragon Spine demo]
* [https://www.youtube.com/watch?v=ICH3N7OZXx8 FPS game using Castle Game Engine 4.0.0]
* [https://www.youtube.com/watch?v=9dH234o5dqo Water with caustics in view3dscene]
Enjoy! Author: [[User:Michalis|Michalis Kamburelis]]
Enjoy! Author: [[User:Michalis|Michalis Kamburelis]]

Revision as of 04:05, 4 January 2015

Castle Game Engine is a cross-platform 3D and 2D game engine. We provide an easy and extensible API to create and manage 3D objects, with out-of-the-box levels, items, intelligent creatures and more. We support 3D models and animations in various formats, in particular very versatile VRML / X3D, but also Collada, Wavefront OBJ, and (especially nice for 2D animations) Spine JSON. Many graphic features are available, like shadows, bump mapping, mirrors, screen effects, shaders. The engine can be used to compile both standalone games (Linux, Windows, Mac OS X) as well as mobile games (Android, iOS).

Rendering is done through OpenGL or OpenGLES2. You can use Lazarus TCastleControl component, so that engine rendering can be a part of your normal Lazarus form. We also provide TCastleWindow class, specialized in creating windows with OpenGL context for games (with optional menu bars and dialog boxes, all without the need for LCL).

The engine is open-source --- the core engine may be used under GNU LGPL, with "static linking exception" like FPC RTL, so you can make both open- and closed-source games. Developed using a clean Object Pascal, for FPC/Lazarus.

This page links to engine downloads, documentation and lists all the engine features is more detail.


We have a lot of documentation about using the engine:

  1. Tutorial
  2. Classes overview
  3. Guide to creating game data
  4. API reference


VRML/X3D browser in Lazarus:

kambi vrml browser.jpg

FPS example game:

castle game engine fps game.jpg


See Castle Game Engine YouTube channel for all videos. Most interesting:

Enjoy! Author: Michalis Kamburelis