Skip to content

Latest commit

 

History

History

README.md

Play Animation

Demo of playing animations using TCastleSceneCore.PlayAnimation method in Castle Game Engine. This is our versatile and most recommended way to play animations. See Writing code to modify scenes and transformations: Playing animation.

You can load any 2D or 3D model (sample 2D and 3D models are available), see the detected animations inside, and play them.

You can test various PlayAnimation features:

Note that Castle Model Viewer has "Animations" panel that also allows to test these features.

Screenshot

Using Castle Game Engine.

Building

Compile by:

  • CGE editor. Just use menu items "Compile" or "Compile And Run".

  • Or use CGE command-line build tool. Run castle-engine compile in this directory.

  • Or use Lazarus. Open in Lazarus play_animation_standalone.lpi file and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.

  • Or use Delphi. Open in Delphi play_animation_standalone.dproj file and compile / run from Delphi. See CGE and Delphi documentation for details.