亚麻引擎是用C++和C#编写的高质量现代3D游戏引擎。从令人惊叹的图形到强大的脚本 - Flax可以为你的游戏提供一切。专为快速工作流程而设计,有许多现成的功能正等着你。要了解更多信息,请参阅网站 (www.flaxengine.com)。
该存储库包含亚麻引擎的完整源代码(不包括受NDA保护的平台支持)。欢迎任何人在基于亚麻的游戏中贡献或使用修改后的源代码。
按照以下说明从源代码编译和运行引擎。
Flax.sln
sudo apt install dotnet-sdk-7.0
sudo apt install vulkan-sdk
sudo pacman -S spirv-tools vulkan-headers vulkan-tools vulkan-validation-layers
sudo apt-get install git git-lfs
sudo pacman -S git git-lfs
git-lfs install
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev zlib1g-dev
sudo pacman -S base-devel libx11 libxcursor libxinerama zlib
sudo apt-get install clang lldb lld
sudo pacman -S clang lldb lld
./GenerateProjectFiles.sh
Flax|Editor.Linux.Development|x64)
GenerateProjectFiles.command
Editor.Mac.Development)
Could not execute because the specified command or file was not found.
重新启动电脑 - 确保将 DotNet 添加到 PATH 以执行命令行工具。
Microsoft.NET.TargetFrameworkInference.targets(141,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0. Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 7.0
Use Visual Studio 2022, older versions are not supported by .NET SDK 7.
Building for Windows without Vulkan rendering backend (Vulkan SDK is missing)
Install the Vulkan SDK then set an environment variable to provide the path to the SDK prior to running GenerateProjectFiles.bat: .
set VULKAN_SDK=%sdk_path%
The NuGetSdkResolver did not resolve this SDK
Install , and in Visual Studio components.
.NET SDK
NuGet package manager
NuGet targets and build tasks
使用亚麻源代码受亚麻引擎最终用户许可协议的严格约束。如果你不同意这些不时修订的条款,你将不被允许访问或使用亚麻引擎。
我们欢迎通过 GitHub 上的拉取请求对 Flax Engine 开发做出任何贡献。我们的大多数活跃开发都在 master 分支中,因此我们更喜欢在那里接受拉取请求(特别是对于新功能)。我们尝试确保所有新代码都符合Flax编码标准。所有贡献均受 EULA 条款的约束。