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

Touch input not working #4

Open
raminf opened this issue May 24, 2024 · 2 comments
Open

Touch input not working #4

raminf opened this issue May 24, 2024 · 2 comments

Comments

@raminf
Copy link

raminf commented May 24, 2024

I'm evaluating whether I can use libgodot as a canvas for mini-games inside a SwiftUI app on iOS/iPadOS.

The .pck files are loading fine and showing, but no touch input is being processed. Godot-defined interactive elements don't appear to work.

I've tried testing with two separate Godot 4 projects:

Not sure whether if there's something else I should be setting in the exporter.

Another thing that isn't clear is how to best communicate between the embedded Godot view and the native app (and vice-versa). For example, to pass a username down into the Godot view, and have the scores from the mini-games bubble back up to the main application. I can file that as a separate issue if easier to track.

@kisg
Copy link
Contributor

kisg commented May 24, 2024

Thank you for your interest. We are preparing a larger update where all inputs (touch, keyboard, mouse) will be handled properly.

We will update this issue once the update is ready.

I moved your other question to a separate issue.

@raminf
Copy link
Author

raminf commented May 24, 2024

OK, thanks. Looking forward to trying it out.

I like the direction it's going vs. the Unity embedding model that only works full-screen. FWIW, in my test app, I'm embedding it in SwiftUI inside the Tab item of a tab bar.

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