Awesome
Estragonia: Avalonia in Godot
Estragonia is a bridge allowing the use of the powerful Avalonia UI framework in the no less powerful Godot game engine!
It's GPU accelerated using Vulkan, which is the main renderer used in Godot 4.
Quick Start
- Have Godot 4.3.0 with .NET support installed.
- Install the
JLeb.Estragonia
NuGet package inside your Godot C# project. - Initialize the Avalonia application using
UseGodot().SetupWithoutStarting()
. - Add a Godot
Control
node to your scene, assign it a script inheriting fromJLeb.Estragonia.AvaloniaControl
and populate itsControl
property with any valid Avalonia view.
For a more detailed guide, see the step by step instructions.
Resources
For various things to know regarding compatibility, rendering and input handling, see this document.
Samples:
- HelloWorld: a basic Avalonia-into-Godot setup.
- GameMenu: a functional game menu UI using the MVVM pattern, with controller support, UI animations and scaling.
License
The whole Estragonia project source code is under the MIT License.
Some specific licenses may apply to some assets used in the samples. See each sample for more information.
Video
https://github.com/MrJul/Estragonia/assets/1623034/7bcb12e4-0f0a-41c4-8dd8-71d8c80ede0b
From the GameMenu sample