python的2d游戏开发引擎_Castle Game Engine:跨平台3D/2D游戏引擎

翟黎明
2023-12-01

Castle Game Engine

"Castle Game Engine" ( https://castle-engine.io/ ) is an open-source 3D and 2D game engine.

We have many graphic features (shadows, mirrors, screen effects...) and support many data formats for game assets (X3D, glTF, VRML, Collada, Spine...). We have many user-interface components, with a powerful viewport to display 3D or 2D content, with many optional features (like instant creatures with simple walking and attacking intelligence). We're cross-platform (desktop, mobile, Nintendo Switch).

See https://castle-engine.io/features.php for the complete list of engine features.

Documentation:

The "Getting Started" page on https://castle-engine.io/documentation.php describes what to install and how to compile. See also the "Compiling" section below for a short version.

API reference: Online on https://castle-engine.io/apidoc/html/index.html . Offline in doc/reference/ subdirectory of the engine archive (if you downloaded the zip or tar.gz engine release), just open the file doc/reference/index.html in your WWW browser.

Numerous examples are provided in the examples/ subdirectory. For example take a look at a simple FPS game example in the examples/fps_game/ subdirectory.

Questions? Talk to us on forum or chat: https://castle-engine.io/talk.php .

Compiling

There are a couple of options. See the "Getting Started" page https://castle-engine.io/documentation.php for details. In short:

Use our Castle Game Engine Editor to design and build your applications. See https://castle-engine.io/manual_editor.php .

Use our Castle Game Engine command-line build tool to build your applications. See https://github.com/castle-engine/castle-engine/wiki/Build-Tool .

The build tool and editor use the project settings from the CastleEngineManifest.xml file.

Install in Lazarus two packages:

packages/castle_base.lpk and

packages/castle_components.lpk

Also, compile (but don't install) this package:

packages/castle_window.lpk

License

The engine is available on the terms of LGPL >= 2 license with "static linking exception". This is the same license as used by FPC RTL and Lazarus LCL. In short, you can make commercial and closed-source games using the engine, you only have to share your modifications to the engine core. See COPYING.md for details.

Have fun!

Michalis Kamburelis

 类似资料: