Skip to content
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

Scrollable Dialogue fix request for Android smartphones #417

Open
orbiterFan opened this issue Dec 28, 2023 · 2 comments
Open

Scrollable Dialogue fix request for Android smartphones #417

orbiterFan opened this issue Dec 28, 2023 · 2 comments

Comments

@orbiterFan
Copy link

(godotengine/godot#86572 (comment))

** Tested versions **
Android smartphone with res 2312 x 1080
Godot 4.1 and 4.2 for Android
Zylanns heightmap-terrain-plugin 1.7.2

** System information **
Android smartphone - res 2312 x 1080

** Issue description **
Hi Guys

I have been looking for a wyziwyg 3d level editor for Android, and finally fired up Godot for Android. Still getting a handle on Godot, and I appreciate the clean logic. Not as menu heavy as Unreal, and still has a tiny footprint once installed.

My typical use case is to thrash out 3d ideas on my phone without a laptop or PC.

I installed Zylanns plugin on my android setup, and there are two issues.

the generate terrain dialogue overflows the screen, so I can't get to the "apply" button. Will copy Zylann in on this.

When sculpting terrain on an android phone, the terrain stays flat without changes, no matter which sculpt tool I use.

See screenshot of terrain generation dialogue.
Screenshot_godotengine editor v4

Hoping you can help. Season's greetings.

** Steps to reproduce **
Use a android smartphone with screen res of 2312 x 1080
Install Godot android 4.1 or 4.2
Install Zylanns heightmap terrain plugin 1.7.2
Follow Kasper tut on YouTube -> https://www.youtube.com/watch?v=Af1f2JPvSIs
Try sculpt the terrain
Nothing happens to the terrain
Then
Try Generate terrain
Apply/cancel buttons hidden off screen

@Zylann
Copy link
Owner

Zylann commented Dec 28, 2023

Note that this plugin editor tools were primarily developped for desktop, I didn't have mobile platforms support in mind. I believe very few people actually use the editor on Android, despite the recent claim that it would run there (which is rather unique in the world of game engines). I don't even have a device suitable to test the Godot editor on it. There might be a number of issues happening there due to screens that are way too small and other OS-specific restrictions that I can't investigate.

Sculpting not working is a separate issue. Godot is supposed to translate input, but apparently doesnt I guess. But again it wasn't thought to work on mobile platforms. The Godot Editor deciding to have a go at running on Android is unfortunately going to create that frustration in many plugins, as the overwhelming majority of tools are meant for mouse and keyboard with a decent screen size. I can't test any of this and might boil down to the same problem, if you don't use a mouse and Godot doesn't translate touch properly, then it won't work on Android and you'll have to use a desktop computer. You, or someone having proper hardware, could have a go at doing the necessary changes to the plugin.

For some reason I can't easily look at your screenshot at full resolution (it keeps leading to a blank page). In fact I can't see it anymore at all.
I'm noticing something though (from when I could see it), the UI scale of your editor seems to be higher than normal, so a lot of UIs will be too big for your screen (which is already very small). I don't know why it would do that, maybe Godot tries to select it automatically but does it wrong. You could try changing it in Editor Settings -> Interface -> Editor -> Display Scale and restart.

@orbiterFan
Copy link
Author

Thanks for the advice. I guessed an android 3d editor might have some limits compared to a desktop version.

Will give your suggestion a try. Appreciate the feedback.👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants