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

Two Joysticks - one to control camera? #93

Open
timhc22 opened this issue Aug 24, 2024 · 2 comments
Open

Two Joysticks - one to control camera? #93

timhc22 opened this issue Aug 24, 2024 · 2 comments

Comments

@timhc22
Copy link

timhc22 commented Aug 24, 2024

Is it possible to have 2 joysticks, one to control movement and one to control camera (instead of having to swipe on the screen)?

I'm sure I saw an example of this somewhere, so apologies if this is a repeat question.

Also, a more meta question, is it possible to have 'Discussions' enabled on this repo, I feel this would be more appropriate for that as opposed to the 'issues' section. Or maybe it is better to ask in Discord?

Thanks

@ErdongChen-Andrew
Copy link
Member

It’s not built in by default, but you can add a custom joystick and call joystickCamMove() to move the camera around.
And thanks for mentioning, I’ll open the discussion section. I thought it was already enabled 😅

@timhc22
Copy link
Author

timhc22 commented Aug 25, 2024

thanks for this library by the way, I tried making something like this myself, but you are clearly the superior coder!
I'll need to add a credits section to my website, but I made a little gallery today. check it out if you are interested: https://unegma.art

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