Flax Engine is a high quality modern 3D game engine written in C++ and C#. From stunning graphics to powerful scripts - Flax can give everything for your games. Designed for fast workflow with many ready to use features waiting for you right now. To learn more see the website (www.flaxengine.com).
This repository contains full source code of the Flax Engine (excluding NDA-protected platforms support). Anyone is welcome to contribute or use the modified source in Flax-based games.
Follow the instructions below to compile and run the engine from source.
Flax.slnand set solution configuration to Editor.Development and solution platform to Win64
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
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
Could not execute because the specified command or file was not found.
Restart PC - ensure DotNet is added to PATH for command line tools execution.
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:
The NuGetSdkResolver did not resolve this SDK
NuGet package manager and
NuGet targets and build tasks in Visual Studio components.
Using Flax source code is strictly governed by the Flax Engine End User License Agreement. If you don't agree to those terms, as amended from time to time, you are not permitted to access or use Flax Engine.
We welcome any contributions to Flax Engine development through pull requests on GitHub. Most of our active development is in the master branch, so we prefer to take pull requests there (particularly for new features). We try to make sure that all new code adheres to the Flax coding standards. All contributions are governed by the terms of the EULA.