-
Notifications
You must be signed in to change notification settings - Fork 31
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
Mobiles #12
Comments
Maybe in the future. We are currently documenting the existing code base because we got a low score from goreportcards: |
ok |
You got an A+ now :) Great work ! I think I can get this going on mobiles. I just need a window to load it inside of which is not hard for Android and iOS. Then only bit would be translating touch gestures. Anyway I think it's quite easy to get this working inside flutter. I suggest this because flutter has so much long term potential and is only getting better. I can make a mini demo of a simple golang opengl test harness rendering inside it. That would be a good first step. |
We definitely want to try to support mobile, and gomobile + Flutter seems like a great way to do it! I'll dig into it - let us know if you get something working! And great point, we will have to add support for touch/analog inputs. I know Kivy (in Python) does cross-device input management particularly well - maybe we can take a look there for inspiration. |
Deal. The Google team are progressing fast on flutter for desktop :) So the only challenge is how to get the 3d window and the flutter forms together. I played with dsl to load a few opengl will does in a docking fashion too. So as I try things out I will put up test harnesses on GitHub to show progress. |
I meant SDL, not DSL :) |
Awesome to hear! Pretty cool that they are using glfw, it will be simpler to integrate with g3n. Keep me posted! 😄 |
Mobile support is being discussed here: g3n/engine#114 |
Is mobile envisaged ?
If it run access the opengl engine we are good. In terms of integration with the GUI I am thinking of using flutter. It has an asynchronous resource loading pipeline and can accept opengl outputs.
Flutter and golang run on all desktops and mobiles with zero code changes today. you just need a simple binding wrapper written in dart to access golang.
You just do the normal gomobile bind for mobile
The text was updated successfully, but these errors were encountered: