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

Advice on adding accelerometer for controls #4

Open
MDCurrent opened this issue May 14, 2017 · 6 comments
Open

Advice on adding accelerometer for controls #4

MDCurrent opened this issue May 14, 2017 · 6 comments

Comments

@MDCurrent
Copy link

Do you have any advice to make tilting the device move the player or would use of the accelerometer as control not be feasible? I want to make a PR that implements this functionality. Another feature I would like to add is being able to use swipe gestures to hit the ball like a game of billiards.

@JakeLin
Copy link
Owner

JakeLin commented May 14, 2017

@MDCurrent please go ahead to make PRs for those features.

@nguyenh13
Copy link

Do you have any advice to make tilting the device move the player or would use of the accelerometer as control not be feasible? I want to make a PR that implements this functionality. Another feature I would like to add is being able to use swipe gestures to hit the ball like a game of billiards.

Have you done this feature?

@JakeLin
Copy link
Owner

JakeLin commented Dec 6, 2018

@nguyenh13 I haven't 😔

@nguyenh13
Copy link

@JakeLin I'm trying to implement this feature, already got the x and y data, but not sure how to use it to move the dot.

@MDCurrent
Copy link
Author

I may have an implementation of the player moving around the screen it makes the game very hard

@JakeLin
Copy link
Owner

JakeLin commented Dec 6, 2018

@MDCurrent can you please share that to @nguyenh13? Because the dots move very quickly, it's very difficult to use the accelerometer, unless we slow them down.

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