-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Compile Godot tools for Android #267
Comments
With a little effort I believe that's possible. The editor is made within the engine (that's one of the things I like about it) so the question is who is going to do it first :) |
There are a few issues to solve in order to do this on Android, such as: Other than that, don't see why not. On Tue, Apr 8, 2014 at 12:34 PM, TheoXD [email protected] wrote:
|
How you compile a product using the product you have yet to compile is a
|
i didnt try, but compiling godot editor for arm linux would be better! |
Yeah. Was also thinking about asking the guys at RetroArch to see if they
|
Someone mentioned successfully building Godot for ArchlinuxARM on IRC a couple days ago (and apparently out of the box). |
please note that while they are the same architecture, compiling it for rasberry pie will not allow it to run on Android |
From a correspondence on twitter:
Basically Godot can compile games to android, but the actual editor doesnt have a port yet. Unfortunately there are not many options at the moment, because most game engines have a huge footprint. The only I found that works well is Love2d, but to develop for it you dont have nice things such as code autocompletion on android. I think that having the editor also work on mobile devices would be a great way to take advantage of it's small footprint and bring to those platforms something that is currently not very available for them. @reduz says it's not difficult to do, and work would be welcome. here is love2d on the google play store btw |
I don't think it will be awesome, but a waste of time. If anyone wants to On Wed, Sep 14, 2016 at 6:25 AM, Todor Imreorov [email protected]
|
What's missing if you compile with tools=yes on android at the moment? it On 14 September 2016 at 07:11, Juan Linietsky [email protected]
|
well, you will obviusly not be able to run the game On Wed, Sep 14, 2016 at 1:26 PM, punto- [email protected] wrote:
|
That's true, to spawn a process that runs your game you'd have to do some On 14 September 2016 at 13:29, Juan Linietsky [email protected]
|
how do you even compile it on android? The thing doesnt even have a terminal |
You cross compile from any PC? Maybe running it will be an issue too since On 14 September 2016 at 17:51, Todor Imreorov [email protected]
|
This is a very old issue. You can already run Godot on your smartphone ( https://godot.online ) in Chrome, so it's better to change the title to something like "Optimize Godot for mobile" (e. g. UI, touch and virtual keyboard) |
@LinuxUserGD There is 2 issues w/ this:
|
@punto- @blurymind , i was wondering if you can use termux (https://github.com/termux) to compile , it allow you to have clang and gcc , it has not X11 though but we can run a ssh server there .. just some ideas . termux is very lightweight |
Termux has support for clang but not for gcc/g++. |
@LinuxUserGD termux does support gcc/g++ (not officially tough) https://github.com/its-pointless/gcc_termux |
@LinuxUserGD: Does not work for Android x86, but does for Android ARM? |
@fahrstuhl Update let the testing begin! current problems, double tap is not a thing so you can't choose anything |
Please do, assuming you're willing to work on it until it's in a functional and mergeable state. However, pull requests for new features need to be made against the master branch. I noticed that your |
@aaronfranke that's my intention, porting it till it done Also I tried working on master, but sometime around 2 weeks ago there was a merge that break the build with tools true (I think, didn't try without it) on android, I would need to investigate it |
@thebestnom |
@LinuxUserGD to me it failed to compile with tools, so I guess that answers your question? |
Also, is there any chat that godot community use so we don't spam the issue? |
@thebestnom Discord (Godot or Extended Libraries) e. g. |
Great to read you're making progress @thebestnom ! I got the impression most of the engine dev talk happens on the IRC channel, which also has a matrix bridge. I asked on the IRC channel about how to best adapt the editor to Android (between 13:00 and 16:30) and running each the project manager, the editor and the game as different activities sounded like the best way. Also the Android port might change to convert nearly all Java code to C++ by making it a NativeActivity:
So maybe we should ask about that, too. |
@thebestnom I personally use Discord the most. IRC is best for contacting the lead devs since they hang around there, but Discord is better for casual chatting since it has many channels and preserves history (on IRC you can only see messages posted after you join). |
so where can we open an open channel for android porting? |
#36776 opened a WIP PR opened, let's see how much time it will take me to get it to be fully ported! |
Seems like this is back: |
@LinuxUserGD the PR is mostly working (3d is broken because android on master is broken) but having the abilty to works with local files is great, and I have git on my termux so I can actually work with it Also running the game doesn't work so Ill guess Ill look how he handle it |
I'll close this issue, as it's 6 years old now and the initial question was Great work on figuring out the Android build, and please keep working on it - and if you encounter any specific issues with Godot on Android, open issues or PRs for them! In the meantime, I'll keep an eye on the open PR - having the editor work on Android out of the box would cool. Thanks to everyone for the great discussion! |
This comment has been minimized.
This comment has been minimized.
I have tried to compile godot for arm linux. And it can run on android with aidlearing and vncviewer (aidlearing is a app based on termux ,it has full x11 graphics functions) |
网盘下载:https://wwa.lanzous.com/b015or6ti |
@2439905184 There's native Android support #36776 (rebased for godot master). |
If you guys need testers - my second main machine is Samsung Galaxy Tab S8 Ultra with keyboard and touchpad. I'm using it now for over 3 months without touching my main machine, mainly for developing. Right now Godot Editor is not usable because in 3D viewport it's nearly impossible to move anything, but code editor and most other features look good. Tested for 5 minutes, though, because of lack of usability of viewport. |
@idchlife The current version of the Godot Android Editor should work with keyboard and mouse including with the 3D viewport. Also feel free to respond on the godotengine/godot-proposals#3931 proposal instead of this (closed) thread. |
Can the entire program be compiled into a version for Android, so that game development can be entirely completed on the go?
The text was updated successfully, but these errors were encountered: