Howdy!
Here comes new Flax 1.6! This update brings various features like .NET 7, C# 11, PhysX 5, iOS support, macOS M1/M2 support, and lots of more good stuff.
For this update together with our contributors, we’ve made over 1,253 commits and merged 148 Pull Requests into Flax repositories. Thanks for your support!
As always, we will do a short check around new features and highlights. To see detailed information visit the official release notes.
Highlights
.NET 7
We did it! Flax C# scripting runs now with the latest .NET 7 runtime and includes all the new and shiny features, such as:
- Better performance (new GC, new JIT, optimized stdlib)
- Latest C# 11 support
- Ability to use mixed native/managed debugger in VS 2022
- New Editor’s code hot-reload via
AssemblyLoadContext
(safer than our custom solution) - Seamless support for newer .Net versions in the future (eg. .NET 8/9)
- Smaller build size (due to new stdlibs stripping)
Now, Flax Editor requires .NET SDK 7 to be installed on a system – both Editor and Launcher detect it and will guide new users to install it (if not already). See Migration Guide
section to learn more about how this affects your game projects.
PhysX 5
Physics simulation engine was updated to the PhysX 5.1 (from 4.1) which includes exceptional stability and performance improvements as well as new GPU simulation features (that we plan on using in the future). We will add cloth and destruction support to the engine in upcoming months as in-built features to use in Flax games.
iOS Support
With iOS platform finally arriving in Flax we’re proud to announce that Flax is truly a multi-platform engine. We support and maintain all common gaming platforms including desktop, consoles, and mobile.
Flax uses Vulkan
via MoltenVK
to render high-quality 3D graphics on iOS, together with full support for C++, C#, Visual Scripting, stereo audio, multi-touch input, high-dpi UI, single-click deployment, and much more.
We’ve updated all Flax Samples projects to support touch display input and run smoothly on iPhone/iPad devices. To learn more see the official documentation about iOS platform.
macOS arm64 Support
Flax 1.6 now works on arm64 Apple devices including macOS. M1/M2 chips offer stunning performance and thus Flax Editor and Flax Games have great stability.
Animation Retargeting
Animation Retargeting is a feature that allows playing the same animation on different skeletons. This can be useful when developing larger games where animations sharing helps reduce both development time and game build size. This update adds new tools for skeletons retargeting inside Editor. Also, Engine does a better job at reusing animations between skinned models. See docs to learn more.
Before | After |
---|---|
Any State in Anim Graph
Any state is a special node that can define transitions to states that will be always checked during state machine updates. It can improve the workflow when creating more complex character animations (for example character Death
state that can be triggered from all states).
Additionally, State Machine transitions can define Interruption options to support transition rule rechecking or instant transitions.
Audio improvements
Every Flax update brings new features and fixes into all engine areas. This time audio system got multiple quality improvements for better spatial sound playback and new HRTF audio. Audio sources can now control Pan
, Doppler Factor
, and Spatialization
. We’ve fixed the minimum audio attenuation distance and added debug sphere to visualize it in Editor.
Network Replication Hierarchy
NetworkReplicationHierarchy
is a new feature that allows the game to configure objects replication mechanism. It’s an optional extension to NetworkReplicator
accessible via Hierarchy
property and can be set by game to a custom nodes hierarchy. It’s used to store objects for replication in a more optimized structure (eg. grid or hierarchical tree) and it can be used to control the replication rate and target clients for each object individually.
For example, when a large game level contains 10k networked objects (eg. POIs) then replicating all of them to all connected clients would kill the performance. To solve this problem a simple replication hierarchy can be created that would control Replication FPS for each object and skip unnecessary replications for clients that are too far away. See docs to learn more.
Additionally, we’ve put lots of efforts into the networking system as we see many game projects in-developments that use it. Network RPCs codegen is more reliable and supports more features.
20 Comments
Mohamed Ait Elkadi · August 13, 2023 at 6:27 PM
The best engine in world i like it more than unity , ue
Mohamed Ait Elkadi · August 13, 2023 at 6:30 PM
Its Can Be Better
> make installFlax.exe better first and make better ui in editor and then add another features
Keep it up
Uotsab · September 15, 2023 at 4:08 AM
lol man! That has no effect boss, sorry XD
No, make UI better first and than make installFlax.exe better
XD
jack · August 13, 2023 at 6:35 PM
great work !
will\tsp · August 13, 2023 at 6:39 PM
great work !
Cloud · August 19, 2023 at 2:26 PM
Is it possible to implement something like the ScriptableObject of Unity? It’s a great tool for decoupling and data injection, anyway, great job of this release and appreciate for that.
Wojciech Figat · August 31, 2023 at 8:56 PM
We have sth better than ScriptableObject – custom Json Assets, see docs: https://docs.flaxengine.com/manual/scripting/tutorials/custom-asset.html
Aleksandr · September 14, 2023 at 3:08 PM
The link is dead
Lahcene · September 14, 2023 at 10:18 PM
It’s working now.
Cloud · September 7, 2023 at 1:34 AM
Fantastic, definitely would give it a try! Thank you!
Uotsab · September 15, 2023 at 4:15 AM
I am still not using this engine. But definitely done things I wanted to see!!! It’ll make things great…
The 2D animation blending don’t work. I set X and Y axis, but than placing animations (idle, left, right, forward, backward) don’t do so well. I have to use other technics but try checking that blending animation node and fix if possible…
fernandxor · September 16, 2023 at 9:02 AM
Amazing engine, with lots of functionality out of the box, and very clean (and clever). I’m just missing some predefined “Sprite3D”, not just a worldspace canvas, and I actually need it for my current project, which I’m trying to port from Unity (In fact, it started as a Godot 3.5 project, but performance wise it lacked a bit too much).
And I’m also missing an improved sprite editor (just creating sprite by sprite takes too long when you have a not-so-big atlas texture). May be I’m doing it myself, when I learn more about custom editors inside Flax. I did it in the past with Unity, so… may be there’s some future there.
fernandxor · September 16, 2023 at 9:49 AM
Ehm… I’ve just created a Sprite3D simply using a SpriteRenderer and giving it a custom sprite material for a pixelated style (with a point filter inside SampleTexture node). So, no Canvas needed, I spoke too soon 😛 May be what confussed me was the fact that SpriteRenderer is inside the GUI object collection, so seems not to be related with 3D, at first glance.
I’ve also read that a new sprite editor is coming for next versions, so, again, very impressed! BTW, got some random crashes after sprite editing and moving through the scene view, but, overall, a really awesome engine.
夏天 · September 16, 2023 at 7:54 PM
Hey bro, trust me, a good editor UI will make the engine 100% successful, even if the engine is using. Net1, but as long as the UI is simple enough is able to attract 99% of people to participate in it, hope to be valued, thank you for your efforts —-Unity developers
TechyList · September 16, 2023 at 11:51 PM
Great news! I’m looking forward to trying out the new Flax Engine.
Tom · September 17, 2023 at 12:36 AM
This game engine is going to become popular now that Unity screwed its users. From what I see it is the best replacement, it looks even better than Unity. I will be installing it as soon as I have time.
PolyCrusher · September 20, 2023 at 2:24 PM
Nice release! Wan’t to test the iOS & Mac stuff. But the download links doesn’t work?.
flipcode · September 22, 2023 at 5:46 AM
Great work ! I like it ,Thank you!
Bob · October 20, 2023 at 8:43 PM
When In stalled the 1.6 version, & started a new project there are only 2 templates – basic scene & blank.
Where are the others?
Thanks.
Gary · October 24, 2023 at 4:32 AM
No VR support? I want to develop for Meta Quest 3 native.