AtomicTorchStudio / NoesisGUI.MonoGameWrapper

NoesisGUI MonoGame Integration Library
MIT License
28 stars 10 forks source link

FYI: MonoGame 3.8 integration with Noesis GUI 3 #9

Open Netzeband opened 3 years ago

Netzeband commented 3 years ago

Hello

I wanted to integrate Noesis 3 with MonoGame 3.8 and as a starting point I was using your code. Thanks a lot for providing it for us. However, I run into several issues. For example Fonts where not be loaded correctly or text was not shown.

Thus I decided to start from the scratch and ported the official C# integration example from Noesis GUI 3 to MonoGame. The result can be found here: https://github.com/Netzeband/noesis_monogame

It is much less advanced then this integration here, but the scope was to implement a simple as possible example for comparison and as a starting point for more advanced integration steps. For the render state recovery and mouse event handling, i used heavenly your code and thus I also created a reference in the readme file to your project.

If you have some time, you might want to look at the forum entry (https://www.noesisengine.com/forums/viewtopic.php?f=12&t=2443). Here, I have two questions about the render-state recovery. Maybe you can help here?

aienabled commented 3 years ago

Hello! Good job!

Please check this branch https://github.com/AtomicTorchStudio/NoesisGUI.MonoGameWrapper/tree/3.0.12 It has the complete support of NoesisGUI 3.0.12 except that I have no luck making the sample app work—I hope NoesisGUI guys will have a look as there is nothing special, I've copied their code from Gallery C# sample basically as-is and wrapped it in a MonoGame 3.8 game project. It almost worked (had another issue) when I've used the sample for Unity instead, but I guess C# sample is the better fit here.

Support for the latest (3.1) version will arrive as soon as NoesisGUI developers will provide the essential fixes.

Regards!

Netzeband commented 3 years ago

Cool! Thanks a lot. I did not check the branches. I will add a notification about this branch into my Readme. My example integration is very basic compared to yours, so it is always good to have a more advanced implementation available.

By the way, I read a lot about CryoFall and the very advanced engine you have implemented for this game. This is really great work!

aienabled commented 3 years ago

Thank you! This is a new branch that I've introduced only yesterday. Today Sergio from NoesisGUI team provided the fixes. It's perfect now. I've merged everything in the default branch.

Regards!