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

Mobile controls #26

Open
Takrak opened this issue Apr 21, 2023 · 1 comment
Open

Mobile controls #26

Takrak opened this issue Apr 21, 2023 · 1 comment

Comments

@Takrak
Copy link

Takrak commented Apr 21, 2023

Occasionally the virtual stick will get stuck in one position after flicking it a bit and will not be able to be moved until you reload the page additionally mobile is missing a few buttons that are needed in some games (all the c buttons, both l and r, and the d pad) I don't know if those are available but just off by default but either way the layout of the buttons should be able to be changed from the menu when in a game.

@nbarkhina
Copy link
Owner

Yeah I've seen the "virtual stick getting stuck" issue as well, I think it is related to NippleJS which is the library I am using and is probably this issue which has not been fixed yet:

yoannmoinet/nipplejs#151

In terms of the mobile buttons missing, I totally agree and it was mainly that there just isn't a lot of space for all the buttons in portrait mode (which is the only mode that is currently supported). So it was really just a tradeoff where I kind of picked the most common buttons I thought people would need (understandably it's not a solution but that was my thinking) The ways to solve that long term would be either to create a landscape mode where I would have buttons overlayed, or maybe make the buttons configurable like you said.

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