You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: