rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
713 stars 94 forks source link

KNI Support #467

Open captkirk88 opened 1 month ago

captkirk88 commented 1 month ago

I use MonoGame Extended and this caught my eye.

https://www.monogameextended.net/blog/kni-fna/

I had no idea what KNI was until I checked it out. Everything is better with KNI. Everything...

No, I am not obsessed with something miraculous that takes MonoGame and makes it better, faster, stronger.

rds1983 commented 1 month ago

There's platform agnostic version of Myra that could be used with KNI: https://github.com/rds1983/Myra/wiki/Using-platform-agnostic-version-of-Myra

captkirk88 commented 1 month ago

I understand there is. But it would require a lot of refactoring and integration changes. KNI is easily integrated into any existing MonoGame project, like yours, by just replacing the MonoGame references with KNI, which uses the Microsoft.Xna namespaces. Since you already support MonoGame and FNA, KNI is no different and would be another alternative backend for people who use that.

rds1983 commented 1 month ago

btw, is there anywhere an article that lists differences between KNI and MonoGame?

captkirk88 commented 1 month ago

The project has changelogs of what they have fixed/improved/added.

The integration with Blazor was my biggest takeaway making creating a web game very very easy. As easy as loading up the installed KNI template for web.

https://github.com/kniEngine/kni/blob/main/CHANGELOG.md