Possible use of Briefcase inside other projects? #928
Replies: 1 comment 1 reply
-
I don't know enough about Godot (or Godot-python) to be able to comment about what is or isn't possible. As a broad goal, I'd say that sounds a use case that would be desirable for Briefcase to support - and if it can't, then I'm interested in exploring what pieces are missing that are the cause of problems. The one thing to keep in mind, though, is that Briefcase won't magically add mobile (or web) support to a GUI toolkit that doesn't already support mobile (or web). It simplifies the process of getting Python code onto a mobile platform - but it won't make binary code automatically mobile compatible. The limitations here are entirely up to Godot. If Godot doesn't already provide iOS support, Briefcase won't make Godot iOS compatible. However, assuming that's not a problem: As it currently stands, Briefcase is essentially a templating engine. The difference between HelloWorld.app and any other app is the list of dependencies and the app's code itself. The core of a packaged app bundle is shared between every possible app. If a Godot app can be made to fit into this exiting framework (i.e., you can "pip install Godot" and then have some user-space code that runs If a Godot app needs it's own special infrastructure to start a Godot app, then it may be possible to support Godot through the use of a platform plugin. Essentially "Godot" becomes a target packaging format for an app. If someone is interested in experimenting here, he next step is to develop a "reference" app - an example application on one platform. If you are able to build this reference app using a "briefcase new" project with "no GUI" as a starting point, then it should be possible to modify the "new project" template to provide the scaffold for a Godot project. However, if you need to modify the basic structure of the new Briefcase project, then we're likely looking at needing a custom platform plugin. Either way, I'm happy to provide guidance and feedback from the Briefcase side of the equation. |
Beta Was this translation helpful? Give feedback.
-
Hi @freakboy3742
I really love your vision for BeeWare and 100% agree that it should be way more straightforward to build Python apps for Mobile and Web.
I love the Godot Game Engine and would really like to use some Python with it instead of the built-in GDScript language (which is fine but lacks a thriving ecosystem of libraries).
@touilleMan is attempting to support this and it looks like exporting to Desktop platforms is possible but Mobile and Web seem like a very daunting task.
So I was wondering: Is there any potential for embedding/using what's possible with Briefcase together with godot-python?
Maybe there's some potential for cross-collaboration here as both projects aim to solve a very similar issue: Bringing Python to more platforms and achieving new things with it.
Beta Was this translation helpful? Give feedback.
All reactions