Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Cross-platform compatibility of scene and ui modules
-
Hey everyone,
I was wondering if there is any way of making a project using scene and ui modules compatible with others platforms like Android or Windows. I know that there may be some way of creating an api with pygame and tkinter to easily export scene / ui project to Windows, but I don’t have any idea for Android. Do you have one ?
Thanks in advance for your answers,
Cordially,
SmartGoat -
What comes to mind right away is something like Game Maker Studio by YoYo Games. It would be a long (and not so cheap) process of writing something in Pythonista, converting your script for use in something else like Xcode for iOS, then using a cross platform program for exporting to different platforms. With my limited knowledge, it would definitely be easier to start on Windows or MacOS, then export your finished app to iOS and Android.
-
@SmartGoat, I think that for all practical purposes, the answer is very close to ”no”.
Pygame, tkinter, Qt will not work on Pythonista.
But if you really want this, for UI, you might get close with the kivy compatibility library, although I do not know how much it has seen practical use (search ”kivy omz forum” on Google).
-
@SmartGoat, also, I toyed with creating a webview-backed UI framework with a Python API that should have been runnable on most platforms (search for ”youey” here), but of course it is a huge amount of work and has been more or less done before – but those other projects have been abandoned, and none of them worked on Pythonista anyway.