Closed GoogleCodeExporter closed 9 years ago
A very naive implementation, but seems to play well.
Original comment by barn...@iware.co.uk
on 29 Nov 2010 at 6:04
Attachments:
accelerometer.patch does play really well and adds a lot to the game. Although
if I tilt to far, for a rebound shot, the app rotates to landscape mode. I
might be an idea to disable screen rotation in accelerometer mode.
Original comment by johnboyh...@gmail.com
on 5 Jan 2011 at 9:01
[deleted comment]
The accelerometer patch was applied as of version 1.13.
The option menu now contains a "Targeting Mode" option that opens a dialog when
selected. The dialog allows the player to select one of the following three
options:
1) Aim Then Shoot
2) Point To Shoot
3) Rotate Then Shoot
The implementation could probably use some improvement to be more responsive,
but it works pretty good for such a naive implementation.
Per johnboyholmes suggestion, I lock the screen to portrait mode when the
accelerometer-based targeting mode is selected. The portrait mode will flip
upside down if the screen is rotated enough, so you can use 2 device
orientations to play, which is handy depending where your headphone jack, USB
ports, and device buttons are located.
Original comment by forter...@gmail.com
on 20 Mar 2013 at 5:21
Original issue reported on code.google.com by
alexande...@gmail.com
on 8 Nov 2010 at 6:46