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

Support for mobile #82

Open
opensourcegeek opened this issue Dec 20, 2023 · 2 comments
Open

Support for mobile #82

opensourcegeek opened this issue Dec 20, 2023 · 2 comments

Comments

@opensourcegeek
Copy link

I'm just playing with examples at the moment and I'm enjoying it. Thanks for your efforts in getting it to where it is.

I'm just wondering if you'd end up supporting mobile in the future, I did see the other issue you've closed for Android support. None of the engines do a great job at supporting mobile, including macroquad. If comfy can ease the game dev for mobile platforms that'd be amazing.

@darthdeus
Copy link
Owner

I'm not opposed to it, but personally I don't create mobile games, and have no intention of doing so in the near future, so it's not likely I'd get around to doing it myself. But if someone else who's working on a mobile game wants to contribute support for their mobile platform I'm happy to take it in, and we can find a good way of integrating this with the rest of the engine.

I'd expect the main problematic part being input handling, since we'd probably want something higher level than just exposing the multitouch events. AFAIK winit already provides all the necessary low level stuff, and wgpu does work on mobile, so unless there is some other dependency we have that prevents compiling for the right platforms things might "just work".

But again, I have more than enough other stuff to work on. I'm happy to help the person who wants to implement this, but unless someone wants to pick up an Android/iOS phone and do the testing & figuring out bits on their own it's likely not going to happen any time soon.

If someone does want to start with this, I'd suggest maybe taking one of the winit/wgpu demos and building them for their mobile platform of choice, figuring out what input events they get and thinking about it a bit, and at that point probably decide how much there'd be actually needed. If that works and they're not put off by the necessary setup, try compiling one of the Comfy examples, and if it at least runs we can start thinking about how to do the input handling and other stuff.

@Sigmoidle
Copy link

This pull request should provide a starting-ground for touch/multi-touch support: #93

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

3 participants