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

Drag and drop does not work on a smartphone (Android). #197

Open
GreatRedBird opened this issue Apr 21, 2024 · 3 comments
Open

Drag and drop does not work on a smartphone (Android). #197

GreatRedBird opened this issue Apr 21, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@GreatRedBird
Copy link

I worked on GLoot version - 2.3.7 and Godot_v4.1.4, everything worked.
I switched to GLoot - 2.4.4 and Godot_v4.2.1, items stopped dropping, but everything still works on Windows.
Is this an error or do I need to change some settings in the project for the new version of GLoot?

I recorded how the default scene inventory_grid_stacked_ex_transfer.tscn behaves. (selected field is disabled, this is not an error)
https://youtu.be/33JJ9FNTLCM

@GreatRedBird
Copy link
Author

I checked it on gloot-2.4.7 and it doesn’t work on mobile phones either.

@peter-kish peter-kish added the bug Something isn't working label Apr 21, 2024
@peter-kish peter-kish added this to the 2.4.8 milestone Apr 21, 2024
@peter-kish
Copy link
Owner

I haven't done any testing on Android so far and I wasn't even sure how drag&drop would work on mobile.
But if it worked fine in a previous version, I guess it's possible to make it work again. I'll investigate.

@peter-kish peter-kish modified the milestones: 2.4.8, 2.4.9 Apr 25, 2024
@TreaBeardGaming
Copy link

Touch should mimic mouse events, but I think there are some caveats when it comes to pressed vs is_pressed but idk haven't tested andriod builds myself.

https://docs.godotengine.org/en/stable/tutorials/inputs/input_examples.html#touch-events

image

@peter-kish peter-kish modified the milestones: 2.4.9, 2.5.0 Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants