Flax is a cross-platform game engine. It means you can create your game once and deploy to many platforms at once. The engine itself takes care of platform differences, graphics backends, and scripting environment. This helps with games development and it one of the essential parts of the game engines.
This section covers the specific information for different aspects of each platform.
Supported graphics backends
- DirectX 11 (with DirectX 10/10.1 fallback)
- DirectX 12
- Platform native (eg. on PS4)
To check on which rendering backend game is running use GPUDevice.Instance.RendererType. You can also use GPUDevice.Instance.ShaderProfile to check the shaders format that is being used by the rendering backend.
Builded game logs
By default Flax stores the log files inside the project folder in subdirectory
Logs (as described here). Builded game is often installed in a folder with no write-access which means Flax needs to store the log files in a temporary directory located in
<ProductName> are values defined in the Game Settings. To debug your game crashes or errors please see the log files.
Debug and Development builds support crash dumps collecting (depending on the target platform). By default creash dump is created in Logs folder in a directory named
Crash_<log_name> and it contains a copy of the original log file and memory dump.
For instance, on Windows you can open minidump file with Visual Studio, specify the engine/game binaries (with .pdb files) and debug the native crash