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

Add touch screen support #1

Open
mkerley opened this issue Jan 10, 2010 · 0 comments
Open

Add touch screen support #1

mkerley opened this issue Jan 10, 2010 · 0 comments

Comments

@mkerley
Copy link
Owner

mkerley commented Jan 10, 2010

Many new J2ME devices have touch screens instead of buttons or joysticks. I found an article that mentions a few methods in the Canvas class which should be helpful:

Keep in mind that the average human finger (or stylus) is not accurate down to single pixels, so we may want to enforce a minimum zoom level on touch screen devices. This will keep the individual pipe segments large enough to be touched accurately.

Also, there must be some way to scroll the game screen around when it's zoomed in. I recommend a simple drag gesture (think Pipes iPhone or Google Maps).

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

1 participant