CSharpShellApp icon indicating copy to clipboard operation
CSharpShellApp copied to clipboard

Support additional game libraries

Open PMi-Pro opened this issue 1 year ago • 4 comments

Can I run popular game libraries like "Monogame", "Raylib" ?.

PMi-Pro avatar Jan 29 '24 11:01 PMi-Pro

For MonoGame support, see #318

KUNGERMOoN avatar Jan 29 '24 17:01 KUNGERMOoN

Is it possible to use a certain game library in this application?, for example in "Cxxdroid" and "C4droid" application I can use "Sdl2" library, but actually I still prefer C#.

PMi-Pro avatar Jan 30 '24 06:01 PMi-Pro

It really depends on the specific library you've trying to use. First of all, most C# game libraries contain wrappers around native libraries (like OpenGL) - you'd have to make sure to compile them for Android. Next is how these libraries handle running C# on Android - if they use MAUI, it won't be a problem (since it's supported by this app), but if they, say, use NativeAOT to compile the C# and use it in a non-C# app, (for example Godot) using them would be hardly possible

KUNGERMOoN avatar Jan 30 '24 10:01 KUNGERMOoN

All true, however implementing all that is needed for this completely is complex and extremely time consuming. The plugin approach mentioned in #318 is probably how it will be done. However this is low priority since it isn't the main goal or use case of the app and full support isn't possible since MonoGame isn't intended to be developed with outside of a PC.

A fun project to experiment with, however only when there is a large empty slot of time in the app's development. The next 3 months are taken up and there is no guarantee this will come after then.

radimitrov avatar Feb 02 '24 09:02 radimitrov