Comments (7)
I believe this would require converting FrEee.Core to a .NET Standard library; I've tried this in the past and run into issues, but maybe it won't be as problematic with newer versions of .NET Standard?
from freee.
I think I found a way to run Xamarin on Linux - you need to create a GTK# app: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/other/gtk?tabs=windows
I tested this with an app I was working on for my job and I was able to create a GTK# app that runs on Windows; haven't tested it on Linux yet...
from freee.
OK, I tested my work app on Linux and I get an error...
from freee.
We might need to port the game to .NET Core #20 first in order to port it to Xamarin?
from freee.
If the goal is to get multi-platform GUI going, it seems that there are a couple of alternatives that should be better when targeting desktop (as Xamarin seems to be mostly focused on mobile apps at the moment). Two that I found are Eto.Forms (https://github.com/picoe/Eto) and AvaloniaUI (https://avaloniaui.net/), both of which are open source at work across Windows, Linux and Mac.
From what I gather, the WinForms code is reasonably well decoupled from the back-end, and thus it should be relatively easy to port the game to one of those platforms, which should have enough capabilities to handle it.
from freee.
Hmm. I've heard of Avalonia; I had issues trying it out because the forms designer was broken or missing or something like that. Never heard of Eto; I'll have to look into that. There's also Blazor, which is supposedly going to be expanded to support not only web apps but desktop and mobile apps as well, but that doesn't sound like it will be happening until next year.
from freee.
Now that we have the game converted to .NET Core, I tried creating a Xamarin project for it. All went well, until I tried to link in the FrEee core project; it needs to be a .NET Standard project in order to be linked from Xamarin, but .NET Standard is missing some certain APIs (such as scripting) that we need. I suppose this will all be sorted out with the release of .NET 5, unifying all the various .NET platforms?
from freee.
Related Issues (20)
- Colony designer (saved queues)
- Scrapping should happen before construction
- Automatic design upgrades
- Add translucent black circles behind star systems on the galaxy map HOT 1
- Add view models to all forms and controls HOT 1
- Crash comparing designs with null data HOT 1
- Able to issue movement dependent orders to immobile objects
- Fleet disappears when order to friendly colony
- Facility upgrades appear in list twice
- Research specialization combo multiplier
- Split FrEee.Core into a hierarchy of projects HOT 2
- Loose deserialization type matching
- Add a log tab for each object
- Port UI to Blazor: proof of concept HOT 2
- Script syntax error when clicking in a storm
- Add a popup dialog version of the galaxy map
- Port UI to Blazor HOT 1
- Create UI tests for Blazor components
- Create unit tests for Blazor view models
- Create data models HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freee.