-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future multiplatform support and general direction #826
Comments
Why would you drop the platform layer in Duality? The whole point of it is that this is the only part where something has to be changed or re-implemented when switching graphics / audio frameworks underneath, or add an alternative one for a different platform. So.. this is actually a great example why it's good to have it? |
I just remembered that you can have a .net core class library 😄 I was somehow under the assumption that .net core == executable, and so you would have to combine the platform and launcher projects in one. Nvm then, everything became a bit more simple 🙂 |
Well usually when you use .net core you have a executable but its not a requirement :P |
So the only thing thats blocking is the GLControl @SirePi? If we can get around that we could use the new opentk and change everything to netcore? |
Technologically speaking, yes Unfortunately there's basically no documentation yet, so it's even difficult to try and find a "hello world" example to see how things are supposed to be done now. But again, besides this, I think .net core is the way |
Last time I checked I had some doubts that the new OpenTK is in a stable form yet, mostly since so much stuff was changed at once. Not sure this was a strategically great decision, since the big refactor probably broke most custom forks beyond mergability and added a barrier for others to update, basically starting over with no large projects using (and battle-testing) it. That said, this last time has been >= 6 months, maybe >= 12 months.
Talked about this already in the chat, but mirroring this here: Going forward, it seems we have two options regarding OpenTK:
If we were to do this right now, I'd go with option 2. With the highly extended API surface and even WinForms support, it's probably doable with a reasonable amount of work, and more importantly, it does not introduce any new unknowns. Beyond that, exploring any other framework is of course an option too, and one that we can easily do side-by-side by providing an alternate set of alpha / beta backend plugins that people can use if they want. It's also a very big topic with potential implications from the long-term editor UI (#274) side, when switching over to MAUI with .NET 6 becomes an option. Since we've already got a lot of big changes going on right now, maybe we should postpone that part though. |
Just throwing here some thoughts, ideas and evidence about the direction that Duality would need to take to reach "official" multiplatform capabilities
This said, I think that losing the platform projects IMHO is not that big of a deal (sorry @ilexp 😄 ).. I mean, it's a neat feature but in all the time it has existed I never saw another platform implementation other than the default ones. (and maybe drop one abstraction layer?)
The text was updated successfully, but these errors were encountered: