Home

Awesome

Delphi3D-Engine

A 3D-graphic and game engine for Delphi, DirectX 11 and Windows. It was used to develop the free-to-play multiplayer game Rise of Legions.

Usage

Engine

Either copy all files in your project or the way we usually link to it: Add the Engine directory and all subdirectory to your search path in Delphi (must be configured for each target 32-bit and 64-bit). The engine is tested (in Rise of Legions) to work with 32-bit using the graphic components (client) and 64-bit working without any graphic (server).

Editors

The editors in this repository should be working and give you hints about the engine usage and can be used to create and configure effects. (tested in Delphi 10.1 Berlin)

Warning

To be honest this engine has lots of neat functionality, but is not easy to use. This project was developed by my friend an me since our studies over many years. There are a lot of features, but no real documentation (except sometimes more sometimes less code comments) and surely a lot of bugs, if anyone new to the engine will use it. I would advice to use this engine with care and have a look at the source code of Rise of Legions or the editors for some hints about the usage of the modules.

Features

Workarounds

The DirectX SDK throws a lot of warnings which are printed by Delphi in the editor output while in debug. This printing consumes a lot of performance, e.g. the editors seems to run slowly when this happens. To work around this you can use the dxcpl.exe for the DirectX SDK to mute the warnings showing up.

License

License: MPL 2.0

The code base is distributed under MPL 2.0

It make use of other Open-Source-Software stated below:

assimp - Modified, 3-clause BSD-License - Used for importing model files like FBX.

DWScript - MPL 1.1 - Used as scripting language.

Imaging - MPL - Used for importing texture of complex formats.

Jedi-WinApi - MPL 1.1 - Used for various windows functions.

LockBox - MPL 1.1 - Used for hashing.

VerySimpleXML - MPL 1.1 - Used for XML parsing.